Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Mark Fuller <mark.fuller@ea...> - 2004-05-11 21:45:01
|
From: "Sam Tregar" <sam@...> > In my opinion, the problem is in your expectation. HTML::Template > gives you back exactly what you put in the template, ... > ... I consider this to be outside the scope of HTML::Template. I'm sorry. I was hoping you'd see the legitimacy of my suggestion. I don't think you're saying this, but doesn't your decision ultimately mean legibility of the template is outside the scope of H::T? On the one hand you're saying H::T does exactly what you tell it to do. On the other hand, if you write it legibly but don't like all the artifacts in your output, then don't write it legibly. Is that reasonable? Also, if the solution is to post-process the output to remove artifacts from authoring legible templates, wouldn't it be better to author my templates legibly with my own "NOLF" attribute and pre-process it to make it illegible (and remove my "NOLF" attribute) before publishing it to the server. Then the processing only occurs once instead of each time the page is served. That last point might sound absurd. But, I think both points are why I felt this was a legitimate suggestion. Ultimately, if you want to suppress whitespace you sacrifice legibility. If you want legibility, you either pre-process the template to remove the legibility, or post-process to remove the linefeeds associated with legibility. This doesn't sound reasonable to me. Mark |