Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^3: What I am missing here

by Riales (Hermit)
on Mar 21, 2012 at 17:33 UTC ( #960826=note: print w/ replies, xml ) Need Help??

in reply to Re^2: What I am missing here
in thread What I am missing here

Well, I would say that references are kind of a step up in terms of abstraction from pointers. For example, in C, you can point a pointer at pretty much any arbitrary space in memory; I don't think you can do that with references in Perl. I also don't think you could perform arithmetic on references (not that this is a great idea in C anyways).

In my mind, Perl references are much simpler. They always point to a thing, and you just have to remember to dereference it to use the thing it's pointing to.

Comment on Re^3: What I am missing here

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2015-11-27 11:04 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (724 votes), past polls