Hi,

> 
> I've got the following sub in one of my base libraries:
> 
> sub perish($;@)
>         {
>....
>         Apache::exit(0);
>         }

exit inside a sub is not yet supported in 2.0b7. It's planed for b8

>... 
> }
> perish($@) if $@;
> -]

The only workaround currently is to write

if ($@)
    {
    perish($@) ;
    exit ;
    }

or wait until 2.0b8, sorry

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]

Reply via email to