From: "Sam Tregar" <[EMAIL PROTECTED]>
> 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



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to