Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

How can I use a reference as a hash key?

by faq_monk (Initiate)
on Oct 08, 1999 at 00:20 UTC ( #636=perlfaq nodetype: print w/replies, xml ) Need Help??

Current Perl documentation can be found at perldoc.perl.org.

Here is our local, out-dated (pre-5.6) version:

You can't do this directly, but you could use the standard Tie::Refhash module distributed with perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[Corion]: Discipulus: Aaah, no, while I'm working on connecting the VR libraries to Perl, I'm not lost there ;) Although I watched The Matrix with a friend in London ;)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2016-12-06 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.