I prefer:$value = $$arrayref[2];
The beauty of that notation is that it doesn't treat the outer level of a nest any differently.$value = $arrayref->[2];
In reply to Re: Arrays and hashes only with references
by wade
in thread Arrays and hashes only with references
by grizzley
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |