![]() |
|
P is for Practical | |
PerlMonks |
Re^3: return !!by Limbic~Region (Chancellor) |
on Mar 04, 2009 at 20:43 UTC ( #748319=note: print w/replies, xml ) | Need Help?? |
ikegami,
I was speaking to the idiom not this specific example. For instance return $foo; where $foo is the contents of a large file. I also am not sure I agree that the author of the sub can be sure that the caller of the sub would be calling it in scalar context - making the explicit scalar useful. Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|