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

Replies are listed 'Best First'.
Re: Re: Stumped when passing barewords
by EvdB (Deacon) on Apr 22, 2004 at 12:49 UTC
    Same on Linux - 5.8.3