![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: Object and tied hash all at once?by Brovnik (Hermit) |
on Jul 07, 2001 at 00:43 UTC ( #94603=note: print w/replies, xml ) | Need Help?? |
Do you have access to (i.e. are you writing) Class::Whatever ?
If so, define Class::Whatever as a subclass of Tie::StdHash, you can use the hash capabilities plus whatever else you add to the new class, including e.g. methods. Tie::StdHash is part of Tie::Hash
In Section
Seekers of Perl Wisdom
|
|