perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Chamas <jos...@chamas.com>
Subject Re: Apache::ASP extra newline in script output start - killing IEpdf recognition
Date Fri, 27 Apr 2001 18:25:24 GMT
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


Mime
View raw message