You're looking at it with the wrong precedence in mind. That is just assignment with the lhs $students {$fields[0]}->[$fields[1] and the rhs $fields[2]. The dereference arrow is optional, so that could as well be written $students{$fields[0]}[$fields[1]] = $fields[2]; which is probably more readable.
After Compline,
Zaxo
In reply to Re: help w/hash arrays
by Zaxo
in thread help w/hash arrays
by leegold
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |