perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: Re[2]: Trouble with catching output of prcodures
Date Thu, 08 Jul 2004 12:16:53 GMT
Hi,

>
> title.epl
> [- die "Die in title.epl, " -]
> Test
>

In 1.3.6 "die" only ends the current block, not the file. If you want to end
processing of the file, you have to use exit, but exit only ends the
proessing of the current file, the caller will still continue. You have to
catch it somehow there.

Embperl 2 has a better die and exit handling (see README.v2)

Gerald


---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylosungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------


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


Mime
View raw message