Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Blessing tied hash

by zwon (Abbot)
on May 06, 2012 at 10:34 UTC ( #969130=note: print w/replies, xml ) Need Help??


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

thingy is what the reference points to, it may be hash, array, scalar, subroutine. What I'm saying, and what code demonstrates is that you can bless a hash, not just the reference as tobyink said.

Replies are listed 'Best First'.
Re^5: Blessing tied hash
by anazawa (Scribe) on May 06, 2012 at 13:29 UTC
    That makes sense. Although bless() requires a reference to the thingy, bless() makes the thingy blessed, not the reference itself. I didn't care this slight difference. In this context, to bless a tied hash, we pass the reference (to a tied hash) to bless().

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://969130]
help
Chatterbox?
[stevieb]: yep. That's definitely the issue. Unzipping the file manually in explorer extracts the whole thing properly

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2017-03-28 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (335 votes). Check out past polls.