![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Help with hash reference mystery...by ysth (Canon) |
on Dec 21, 2003 at 17:13 UTC ( #316216=note: print w/replies, xml ) | Need Help?? |
See Using References in perlref, where it explains that
after the % you can have either a simple scalar or a BLOCK
containing the hash reference. The error message you got
is a clue that it is trying to use $hash, not %hash.
In Section
Seekers of Perl Wisdom
|
|