Don't ask to ask, just ask | |
PerlMonks |
Re: A question about method return values and error checkingby nikosv (Deacon) |
on Nov 04, 2015 at 08:17 UTC ( [id://1146882]=note: print w/replies, xml ) | Need Help?? |
I think it's another perspective of the 'return error code vs throw an exception' debate and not just a matter of instead of returning undef upon error, to return another true holding value
In Section
Seekers of Perl Wisdom
|
|