..... can you please explain the code. is $SIG should us with "_DIE_"? when ever die is used, it automatically invokes _DIE_,is it true? i read perl is using top down approach, i debugged the above program , the execution goes up to eval and jumps to $SIG line.how it is possible?explain me please.local $SIG{'__DIE__'} = sub { (my $x = $_[0]) =~ s/foo/bar/g; die $x }; eval { die "foo lives here" };
In reply to help in $SIG by uva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |