Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Context propagation into subs and evalsby LanX (Saint) |
on Feb 20, 2012 at 22:10 UTC ( [id://955165]=note: print w/replies, xml ) | Need Help?? |
implicit_returns() has two implicit returns, because the calls to tst_context() could be last statement of the sub. Since no_implicit_return() has an explicit return at the end which must be passed, disabling the implicit returns. look here Both functions are equivalent, but in the latter the return is explicit.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|