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