my $self = {}; bless $self, ...; $self->{thing} = "something"; $self->{catagory}{subcatagory} = "something";
See perltoot, perlboot, perlobj, and any other manpages dealing with objects (there are many).
____________________
Jeremy
I didn't believe in evil until I dated it.
In reply to Re: hash as an object property
by jepri
in thread hash as an object property
by dhammaBum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |