Thus lines is a scalar value, there's only one of them, doesn't the outside loop execute only once?
At least, when I try running:
perl -e 'foreach (5) { print "Hello\n" }'
I only get one loop.
In reply to Re: Two loops
by monarch
in thread Two loops
by loop362
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |