In list context, it returns a list of values counting (up by ones) from the left value to the right value.How's that different from for (my $i = 0; $i < @array; $i++) which also says to count by one, from the left value up to the right value?
In reply to Re^7: Finding the index of a specific element in an array.
by JavaFan
in thread Finding the index of a specific element in an array.
by Thakur
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |