Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by JaWi (Hermit)
on Oct 10, 2002 at 19:10 UTC ( #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? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2022-08-10 14:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?