|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Ask a Silly Question...by headybrew (Beadle) |
| on Feb 01, 2008 at 02:11 UTC ( #665501=perlquestion: print w/ replies, xml ) | Need Help?? |
|
headybrew has asked for the
wisdom of the Perl Monks concerning the following question:
Hello my monkitudinous friends,
Why is it that when I do: I don't see "FOO" in the output? Shouldn't 'my' put it in the main:: symbol table? next, why does: do this: "my" variable $main::FOO can't be in a package at ./footest.pl line... But if I use: it works? And, no, the lines are not in any sub blocks or anything. They're the only lines in the test script. Just doin' my best to waste my time and yours... -heady
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||