Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: return if 0by zigdon (Deacon) |
on Jun 22, 2009 at 19:31 UTC ( [id://773742]=note: print w/replies, xml ) | Need Help?? |
Interesting! The last expression evaluated is the string "0". That's false, so the return doesn't fire, but the "0" is actually returned. Cool example, thanks! -- zigdon
In Section
Seekers of Perl Wisdom
|
|