The extra new can cause issues, especially with non-html data. As an
example, if you have a page with some sort of generic authentication check
at the top (via execute), and then you get some data (say an RTF file) from
a database or file. If you send the RTF data back to the client the newline
at the front kills the browser from recognizing the RTF as the type.
Removing the newline resolve the issue.
-----Original Message-----
From: Gerald Richter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 2:36 PM
To: Jonny Cavell; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: 2 more embperl2 oddities - Execute
> ---cut---
> [-
> print OUT "*";
> Execute("it.epl");
> print OUT "*";
> -]
> ---cut---
>
> Goes into an endless loop.
>
This is a bug in Embperl
>
> (2)
>...
> I.e. it appends a newline to the file that has been executed.
>
That's like Embperl 1 does it, it always used to add a newline to the end of
all Executed files. Embperl does the same, but I thinking about removeing
the extra newline. Does the extra newline cause any problems ?
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]