Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Blessing tied hash

by anazawa (Scribe)
on May 05, 2012 at 16:16 UTC ( #969057=note: print w/ replies, xml ) Need Help??


in reply to Re: Blessing tied hash
in thread Blessing tied hash

I agree $tied_object and $instance are two separate objects. Though the following:

bless \%hash, MyOtherClass;
makes \%hash blessed into MyOtherClass, I don't think $tied_object blessed into the same class at the same time. In fact,
ref $tied_object
returns 'MyClass'.


Comment on Re^2: Blessing tied hash
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2015-07-05 19:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls