in reply to Re^2: What technical benfits perl offers over python + few more questions.
in thread What technical benfits perl offers over python + few more questions.
Perl has exceptions, and that's nothing new. Exceptions are thrown using die, and caught using eval BLOCK.
Differences:
Perl operators don't throw exceptions, while the corresponding IO libraries in other languages might.
Perl exceptions don't automatically come with a stack trace, whereas it's common elsewhere. It's definitely possible to get stack trace from exceptions in Perl, through. See Carp::Always.
|
---|