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'.

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 lurking in the Monastery: (8)
As of 2016-08-29 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (399 votes). Check out past polls.