in reply to Re: Re: Re: sub returning undef
in thread sub returning undef

I tend to save die's for outside of classes. You die and someone doesn't handle it, they get screwed over. At least with an undef, scripts may be able to run to completion... depending on how you code it.

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: sub returning undef
by chromatic (Archbishop) on May 24, 2004 at 18:41 UTC

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