in reply to creating references
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: creating references
by hnd (Scribe) on Aug 22, 2009 at 03:40 UTC |
In Section
Seekers of Perl Wisdom