in reply to hash as an object property
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: hash as an object property
by dhammaBum (Acolyte) on Oct 02, 2001 at 14:06 UTC | |
by pixel (Scribe) on Oct 02, 2001 at 16:46 UTC |