Don't ask to ask, just ask | |
PerlMonks |
Re: creating referencesby AnomalousMonk (Archbishop) |
on Aug 21, 2009 at 17:13 UTC ( [id://790416]=note: print w/replies, xml ) | Need Help?? |
Note also that you are creating a lexical variable with the my %hash=(); statement, and the *foo{THING} syntax applies only to package variables; you get the '... "main::hash" used only once ...' message because there is no %hash package hash variable in existence.
In Section
Seekers of Perl Wisdom
|
|