SJP
12-20-2003, 07:09 PM
Is it possible to tell where the current pointer is at in a foreach loop so you can do another foreach from that point? Or in other words a foreach loop inside a foreach loop where the inner loop picks up from where the outer loop left off?
foreach my $p (@lines) {
.
.
foreach my $q (the next line $p would have gotten) {
.
.
}
}
thanks, SJP
foreach my $p (@lines) {
.
.
foreach my $q (the next line $p would have gotten) {
.
.
}
}
thanks, SJP