Yep. Perl does exceptions.
eval is the "try" part; checking $@ is the "catch". die is the "throw" bit.
In reply to Re^3: Understanding variable scope in perl
by herveus
in thread Understanding variable scope in perl
by BioBoy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |