XP is just a number | |
PerlMonks |
Re: Elegant way to return true or nothing from a subroutine?by CountZero (Bishop) |
on Oct 10, 2006 at 05:48 UTC ( [id://577328]=note: print w/replies, xml ) | Need Help?? |
Do you care to explain why you want false to be nothing rather than zero or undef? For ages these values have served us well, but perhaps you have found a good reason why this is not a good idea anymore.
CountZero "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
In Section
Seekers of Perl Wisdom
|
|