... make my computer blow up?
No, but it would make perl blow up, since a sub needs curlies:
$SIG{__DIE__} = sub { croak(shift) };
But you don't know whether @_ contains anything useful, if set at all, at the moment the die occurs. So you'll probably better off using Carp::confess, as moritz already pointed out.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
In reply to Re: croakify non-croakers?
by shmem
in thread croakify non-croakers?
by pileofrogs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |