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.
In reply to Re^3: What technical benfits perl offers over python + few more questions.
by ikegami
in thread What technical benfits perl offers over python + few more questions.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |