Mailing List Archive

Re: Apache::ASP extra newline in script output start - killing IEpdf recognition
Philip Mak wrote:
>
> On Fri, 27 Apr 2001, Joel W. Reed wrote:
>
> > <%@ LANGUAGE="PerlScript" %>
> > <%
> > do neat perl things
> > %>
>
> Have you tried this:
>
> <@ LANGUAGE="PerlScript" %><%
> do neat perl things
> %>
>

This is probably your work around for now. What I'll
probably do with this is try to optmize the above
construct to the latter format, or even eliminating
the %>\s+<% during the parse stage. This will change
the output for constructs like this or

<% for (1..X) { %>
<% for (1..Y) { %>

To have X less \n\t in the output, but this is likely
a valid optimization that many other embedded scripting
languages seem to offer, witnessed during my Hello World
benchmarks.

--Josh

_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks >> free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org