It's not an issue with the OP's code, but in some cases you may wish to work with a copy instead of an alias (as you would get for the foreach my $link (@links) variant) so that you can edit the variable without altering the contents of the aliased array element.
In reply to Re^2: Binding operator RAM eater
by GrandFather
in thread Binding operator RAM eater
by techtruth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |