[EMAIL PROTECTED] wrote:
> Is there anyway to get rid of those empty newlines when they are
> from lines that are strictly HTML::Template directives?

In order to avoid my templates becoming ugly, I occasionally put the
directive NOSPACE at the end of a line and have a filter process it
by removing it together with all preceeding and trailing white space
(including newlines).

Here's the filter:
      s/\s*NOSPACE\s*//g;

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to