for my $index (reverse 0 .. $#array)
is a more Perlish way to achieve that. It is clearer and avoids fence posts.
In reply to Re^2: Deleting specific element in array in FOREACH loop
by GrandFather
in thread Deleting specific element in array in FOREACH loop
by awohld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |