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


in reply to Stumped when passing barewords

I don't have an answer, but I get the same results on 5.8.3/Win so it's not a platform thing.

Re-ordering the declarations of sub2 and sub3 gives your expected output, which is counter-intuative.

I'm intrigued to see the reasoning behind this one too:)


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail