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

      People who don't read the documentation (or ignore it) deserve their problems.