Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Object and tied hash all at once?

by PrakashK (Pilgrim)
on Jul 07, 2001 at 00:18 UTC ( #94592=note: print w/ replies, xml ) Need Help??


in reply to Object and tied hash all at once?

Perhaps you already know this, but is 'tied' function what you are looking for?

tie my %$hash, Class::Whatever; # access the object as hash $hash->{foo} = "bar"; # access the tied object directly tied($hash)->SomeMethod();
/prakash


Comment on Re: Object and tied hash all at once?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://94592]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-11-29 01:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (203 votes), past polls