IMHO, die is not very useful because it provides very little context - just an error message and the line that has the die() call. Stack traces ala confess() are invaluable when debugging a complex app.
As to whether this makes die() qualify as the next goto(), I don't know.:-)
-- "Perl users are the Greatful Dead fans of computer science."
--slashdot comment
Probably in relation to the oft-mentioned assertions that exceptions can be abused like GOTO, which is a topic in those programming worlds where exceptions are more widely used than in Perl.
Die provides no context (Score:1)
As to whether this makes die() qualify as the next goto(), I don't know. :-)
"Perl users are the Greatful Dead fans of computer science." --slashdot comment
Re: (Score:1)
comefrom() (Score:1)