maybe easier written with while loops?
while ($a[0] =shift @a1) { ... }
... well at least for me better readable :)
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re^6: Using an array element as a loop iterator
by LanX
in thread Using an array element as a loop iterator
by gurpreetsingh13
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |