in reply to Re: Re: How do you move within an array using foreach?
in thread How do you move within an array using foreach?
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