I was looking at this expression in perl:
Does perl increment the index for both arrays automatically? Is it shorthand for a 'foreach' loop?@ranks[@sorted_positions] = (0 .. $#sorted_positions);
In reply to Loops in Perl by carlriz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |