Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^6: A Scalar::Util::refaddr Oddity

by ambrus (Abbot)
on Sep 27, 2005 at 13:20 UTC ( [id://495367]=note: print w/replies, xml ) Need Help??


in reply to Re^5: A Scalar::Util::refaddr Oddity
in thread A Scalar::Util::refaddr Oddity

You might be right... the phrase
Using a reference as a number produces an integer representing its storage location in memory. The only useful thing to be done with this is to compare two references numerically to see whether they refer to the same location.
has got into perlref between 5.005 and 5.6.0. The feature might have been there from the start though.

Log In?
Username:
Password:

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

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

    No recent polls found