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

Re: Perlplexation - foreach shoulda Known

by tinita (Parson)
on Apr 14, 2012 at 09:46 UTC ( #965054=note: print w/replies, xml ) Need Help??


in reply to Perlplexation - foreach shoulda Known

I guess I just assumed it didn't because when you declare the variable in a foreach loop, you don't think of it as a reference (because it really isn't one, but it sorta acts like one in that it represents the actual element in the list.)
It is called an alias.
  • Comment on Re: Perlplexation - foreach shoulda Known

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://965054]
help
Chatterbox?
[shmem]: choroba: the correct spelling is corretto
[shmem]: ...for espresso
[LanX]: due coretti, per favore! ;-)
[shmem]: grappa, ginebra o amaretto?

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2017-03-28 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (330 votes). Check out past polls.