On Thu, 31 Mar 2005, Ankur Gupta wrote: > No I do not [want to] die so fast.. I want to do some processing based > on the died message.
Fine then. eval { risky_action(); } if $@ { my $status = $@; my $result = do_some_processing(); die "Got $status, did some processing: $result\n"; } This should work. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>