|
|
| Welcome to the Monastery | |
| PerlMonks |
Re^2: Determining the fully qualified name of a global variable. ('return undef')by LanX (Monsignor) |
| on Jan 27, 2013 at 09:28 UTC ( #1015570=note: print w/ replies, xml ) | Need Help?? |
|
> 'return undef;' is redundant. From return:
Sorry for nitpicking but it's not equivalent. =) In list context return undef is true, cause a one-element list (undef) will be returned.
But empty returns are always false:
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||