Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Hashes in Objects

by kilinrax (Deacon)
on May 07, 2003 at 15:46 UTC ( #256260=note: print w/replies, xml ) Need Help??


in reply to Hashes in Objects

Use an anonymous hash constructor to create the reference:
$self->{'tokens'} = {};
Have a read through perlref, it should give you a good idea of how to create more complex structures with references.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2022-01-24 13:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (64 votes). Check out past polls.

    Notices?