Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: What's in a Reference?

by rowdog (Curate)
on Jul 15, 2010 at 23:48 UTC ( [id://849878]=note: print w/replies, xml ) Need Help??


in reply to What's in a Reference?

Q: Fill in the blank: 3 is the ________ of $2. Do not choose the word 'value', for it may be confused with 42.

Nothing. On the other hand, \$3 is the value of $2 and, IMHO, talking about it as anything other than "the value of $2 is a reference to $3" is confusing.

As for the 42 argument, I would say that $2 may evaluate to 42 but the value is still \$3.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-04-25 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found