good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Hashes in Objectsby kilinrax (Deacon) |
on May 07, 2003 at 15:46 UTC ( [id://256260]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|