Why does the above not work, but the below does?print (1,2,3)[1];
And don't just say because the second is unambiguous!print [1,2,3]->[1];
In reply to Anonymous Arrays or Anonymous Array References by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |