It would be more appropriate to die on error, and expect the calling code to trap it using:
eval { # calls go here }; if ($@) { # exception handling here }
In reply to Re: Re: Re: sub returning undef
by eclark
in thread sub returning undef
by Scarborough
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |