keys(@a) returns the keys of the array elements: 0..$#a
values(@a) returns the values of the array elements: @a
Same for unblessed array references.
In reply to Re^2: New behavior of 'each' with respect to references
by ikegami
in thread New behavior of 'each' with respect to references
by davido
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |