in reply to Perl's Warn and Die Signals
So even though you are given greater control over the exit of your program, it's still not a good time to be performing complex operations with your die() handler.$SIG{__DIE__} = sub { print "$0: $_\n" for @_ }; die("a", "bunch", "of", "arguments"); __END__ output - -: abunchofarguments at - line 2. abunchofarguments at - line 2.
broquaint
|
---|