Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Mystery (to me) Data Structureby jfraire (Beadle) |
on Apr 01, 2008 at 04:29 UTC ( [id://677690]=note: print w/replies, xml ) | Need Help?? |
Clarification: $hashIPs{$ip}{'region'} = $region; is still using references. It's just that the arrow operator is optional between bracket subscripts, according to perlref. Julio Update: And this is really nice when working with arrays of arrays, since they are then used as multidimensional arrays: $array_ref->[$x][$y] or $array[$x][$y].
In Section
Seekers of Perl Wisdom
|
|