in reply to help w/hash arrays
Assume that the following has been entered:
%students is NOT an anonymous hash ref - it has a name - students. It is not a ref (it is a hash), and its values are references to anonymous arrays.my ($x,$y,$z) = @fields; # to simplify matters # Now, your statement can be written as : $students{$x}->[$y] = $z;
So, if you asked for $students{$x} , you would get a refernence to an anonymous array. You de-reference this with the optional "->" operator, then index the array with [$y]. Finally, you assign $z to the indexed array.
Hope this lifts the fog somewhat.
By guaranteeing freedom of expression, the First Amendment also guarntees offense.