laziness, impatience, and hubris | |
PerlMonks |
Re^3: How do you move within an array using foreach?by JaWi (Hermit) |
on Oct 10, 2002 at 19:10 UTC ( [id://204295]=note: print w/replies, xml ) | Need Help?? |
As a matter of fact, I can (since about 15 minutes :-)! Summarizing from perlop:
The two dots work like a sort of flip-flop: if returns true if the first operation (the /foo/ part) evaluates `true' and stays true until the second operation evaluates to `true' (the /bar/ part). After that it returns false again. Cheerio, -- JaWi "A chicken is an egg's way of producing more eggs."
In Section
Seekers of Perl Wisdom
|
|