Perl: the Markov chain saw | |
PerlMonks |
Re^5: Blessing tied hashby anazawa (Scribe) |
on May 06, 2012 at 13:29 UTC ( [id://969137]=note: print w/replies, xml ) | Need Help?? |
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().
In Section
Seekers of Perl Wisdom
|
|