No,it fails because it's undefined syntax
syntax error ... near ")["
and indexing a list always requires parens!
see perldata
A list value may also be subscripted like a normal array. You must +put the list in parentheses to avoid ambiguity.
Cheers Rolf
In reply to Re^7: Line numbers
by LanX
in thread Line numbers
by gg48gg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |