Do you know where your variables are? | |
PerlMonks |
Re^2: Using references as hash keysby Roy Johnson (Monsignor) |
on Oct 18, 2005 at 14:22 UTC ( [id://500996]=note: print w/replies, xml ) | Need Help?? |
Those references were converted to strings, which means that you can't get your reference back by looking at keys. But the more important issue (to the OP) was that identical anonymous arrayrefs will not map to the same hash element. That is, each time you mention $HOR{[1,2,3]}, you're talking about a different element.
Caution: Contents may have been coded under pressure.
In Section
Seekers of Perl Wisdom
|
|