You can also omit the arrow operator if EXPR ends with an array or hash index.An array or hash index, yes, but not a list slice; here you do need the ->.
In reply to Re: Re: Dereferencing array of hashrefs
by ysth
in thread Dereferencing array of hashrefs
by Guildencrantz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |