Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: regexp list return 5.6 vs 5.8by Anonymous Monk |
on Jan 24, 2008 at 08:27 UTC ( [id://663957]=note: print w/replies, xml ) | Need Help?? |
hmmm... ok, but then wouldn't it be better (in the sense of being more maintainable) to write something like return wantarray ? @rv : $rv[-1]; ?
In Section
Seekers of Perl Wisdom
|
|