Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Using an array element as a loop iterator

by jethro (Monsignor)
on Nov 07, 2013 at 18:12 UTC ( #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
Node Status?
node history
Node Type: note [id://1061607]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2020-06-03 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (29 votes). Check out past polls.

    Notices?