vs.perl -MCarp -le 'croak "Died here"' Died here at -e line 1
from the perldoc:perl -MCarp -le 'croak "Died here\n"' Died here
The Carp routines are useful in your own modules because they act like die() or warn(), but with a message which is more likely to be useful to a user of your module.soooo.... it's not the same, but like.
In reply to Re: croak not like die.
by RazorbladeBidet
in thread croak not like die.
by esharris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |