Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Using an array element as a loop iterator

by jethro (Monsignor)
on Nov 07, 2013 at 18:12 UTC ( [id://1061607]=note: print w/replies, xml ) Need Help??


in reply to Using an array element as a loop iterator

foreach loops alias each element of the array into the loop variable. AFAIK this alias simply doesn't work with array elements. Since there is no alias happening in a c-style loop there is no problem

  • Comment on Re: Using an array element as a loop iterator

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2025-07-11 09:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.