in reply to Object and tied hash all at once?
Perhaps you already know this, but is 'tied' function
what you are looking for?
/prakashtie my %$hash, Class::Whatever; # access the object as hash $hash->{foo} = "bar"; # access the tied object directly tied($hash)->SomeMethod();
|
---|
In Section
Seekers of Perl Wisdom