- or download this
while(@array1) {
ONE: while(@array1) {
...
# push @array1, ...
}
}
- or download this
while(@array1 or @array2) {
my $i = 0;
...
# Do various things (as above)
}
}
- or download this
while(@array) {
my $item = shift @array;
...
warn $item;
}
}