in reply to Re: Re: sub returning undef
in thread sub returning undef
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 }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: sub returning undef
by exussum0 (Vicar) on May 24, 2004 at 17:42 UTC | |
by chromatic (Archbishop) on May 24, 2004 at 18:41 UTC |