You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Jonny Cavell <jc...@iii.co.uk> on 2001/05/01 12:43:31 UTC
2 more embperl2 oddities - Execute
it.epl:
---cut---
hello
---cut---
(1)
---cut---
[-
print OUT "*";
Execute("it.epl");
print OUT "*";
-]
---cut---
Goes into an endless loop.
(2)
---cut---
*[- Execute("it.epl") -]*
---cut---
Gives the following output:
---cut---
*hello
*
---cut---
I.e. it appends a newline to the file that has been executed.
Cheers
Jonny
http://www.iii.co.uk
Interactive Investor International is a leading UK Internet personal
finance service that provides individuals with the capability to identify,
compare, monitor and buy online a number of financial products and services.
Interactive Investor Trading Limited, a subsidiary of Interactive Investor
International plc, is regulated by the SFA.
Re: 2 more embperl2 oddities - Execute
Posted by Gerald Richter <ri...@ecos.de>.
> ---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: richter@ecos.de Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org