print (@somelist)[1]
is treated as
print(@somelist) [1]
which is also a syntax error.
-David
In reply to Re^2: how to split a string and take certain position?
by erroneousBollock
in thread how to split a string and take certain position?
by adrive
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |