in reply to Re: Re: Re: Error Handling in Object-Oriented Perl
in thread Error Handling in Object-Oriented Perl
Which will propagate the $@ (appending "... propagated" if $@ is a string, and calling $@->PROPAGATE() if $@ is an object, and then issuing die $@ (this is only documented from perl 5.6, so it might not work like this on older perls...)eval { ... } die if $@;
See also:
perldoc -f die
-- Joost downtime n. The period during which a system is error-free and immune from user input.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Error Handling in Object-Oriented Perl
by lestrrat (Deacon) on May 24, 2002 at 17:30 UTC |