There are many different for loops. Some don't create a list (such as for (x..y) and for (@array)), and one iterates over an array (for (@array))Isn't the array evaluated in list context and the for loop iterated over a list?
In reply to Re^2: Lists and Arrays and Boredom
by carol
in thread Lists and Arrays and Boredom
by carol
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |