NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Are you running this… (Score:1)
Ordinary morality is for ordinary people. -- Aleister Crowley
Two different vars (Score:2)
You have two different $foo variables in there. Is that the actual code you're trying to use?
If the package version of $foo has a value, that's what the lexical version of $foo gets in the assignment:
Re: (Score:1)
Ah... now I see.
My brain really wants the parens to be a block...
Thanks