Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

ChuckularOne

by ChuckularOne (Parson)
on Mar 13, 2000 at 18:25 UTC ( #5304=user: print w/replies, xml ) Need Help??

I'm just this guy, you know...

Sworn enemy of Santa Claus, the Easter Bunny, the Tooth Fairy and all of the other little critters that society makes us lie to our children about.






I am an atrociious horribble Realy bad speller. I make no appologies for it.


Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[james28909]: this makes sense to me. https://stackoverf low.com/questions/ 14224831/meaning- of-referencing-and -dereferencing
[james28909]: stack overflow
[james28909]: i think im going to ditch perl and learn C
[shmem]: for instance: for (@array) { $_ += 1 }; - here $_ inside the loop is an alias for the current element of @array
[james28909]: having to juggle between machines and perl versions and guis and compiling to a portable binary is slightly redundant when i could just use c or something
[shmem]: james28909: you'll prolly come back to perl when done :-P
[james28909]: but isnt that the same a referencing?
[shmem]: no. A reference is something like a pointer in C
[james28909]: i mean i get what you are saying though. but it is easily confused (especially by someone like me :P )
[shmem]: in the loop example I gave you, $_ is not a reference. It is just the current element of @array "in disguise".

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2018-05-20 15:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?