I agree. Instead of iterating over an array you modify this way, do it another way:
Update: ...but be aware that this leaves @all_paths empty.while ( defined( my $path = shift @all_paths ) ) { # ...
In reply to Re^2: How & why does this work?
by kyle
in thread How & why does this work?
by Viki@Stag
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |