No such thing as a small change | |
PerlMonks |
Re: ^3: How do you move within an array using foreach?by flounder99 (Friar) |
on Oct 10, 2002 at 19:10 UTC ( [id://204294]=note: print w/replies, xml ) | Need Help?? |
Look here in perlop.
In scalar context, ".." returns a boolean value. The operator is bistable, like a flip-flop, and emulates the line-range (comma) operator of sed, awk, and various editors. Each ".." operator maintains its own boolean state. It is false as long as its left operand is false. Once the left operand is true, the range operator stays true until the right operand is true, AFTER which the range operator becomes false again. -- flounder
In Section
Seekers of Perl Wisdom
|
|