Perl-Sensitive Sunglasses | |
PerlMonks |
Re: I don't understand hash referencesby LanX (Saint) |
on Dec 07, 2009 at 15:28 UTC ( [id://811517]=note: print w/replies, xml ) | Need Help?? |
is analogues to
$k3 is not a hashref but the scalar-value of a hash (... which produces something mostly useless like 1/8 indicating the memory use) what you really want is either
to get the hashref or
to copy the nested sub-hash!
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|