Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


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."

  • Comment on Re^3: How do you move within an array using foreach?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://204295]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (1)
As of 2024-04-24 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found