Dear monks, can anyone enlighten me as to why the exception in the example below is not caught by the bottom catch block?
Because you aren't importing the try subroutines into your foo package :-)
Add another use Error qw(:try); after your package foo and it should work.
In reply to Re: Error.pm not playing nicely with objects?
by adrianh
in thread Error.pm not playing nicely with objects?
by flipper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |