http://www.perlmonks.org?node_id=773742


in reply to Re^2: return if 0
in thread return if 0

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