Next | Pseudohashes | 8 |
$array_ref = [ { NAME => 1, TYPE => 2, size => 3, ... }, "Fenchurch", "Octopus", "Small", 3, undef, ... ]
This was formerly a run-time error:
$array_ref->{$key}
Now it is an abbreviation for this:
$array_ref->[$array_ref->[0]->{$key}]
Note that this is somewhat slower than $hash_ref->{$key} would have been
Let's hope it doesn't happen too much
Next | 8 |