> perl -MCarp -le 'croak "Died here"' Died here at -e line 1 > perl -MCarp -le 'croak "Died here\n"' Died here at -e line 1
Which is not the same as your ouput, but I would consider mine better, since the reason to use croak is to give the file/line message in the first place.
This is perl, v5.8.6 built for i686-linux.
(with -DDEBUGGING by the way, though I doubt that matters.)
In reply to Re^2: croak not like die.
by Joost
in thread croak not like die.
by esharris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |