my $flag=""; local $SIG{__DIE__} = sub { $flag = "implementor wants to terminate"; ... }; eval "$code"; if ( $flag eq ... and so on...
untested
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re: why did i die?
by LanX
in thread why did i die?
by markov
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |