in reply to Blessing tied hash

Is it possible to create an object blessing tied hash?
What happened when you tried? It only takes a few lines to set up a tied hash, and a single line to bless it.

Replies are listed 'Best First'.
Re^2: Blessing tied hash
by anazawa (Scribe) on May 05, 2012 at 15:42 UTC
    Nothing unusual happened. Most of documents about Perl OOP says "bless() a reference to a hash (or an array) to create an object", and so I was under the impression referents shouldn't be tied. But they don't say "Don't bless() a reference to a tied hash". I wanted to reconfirm we can do so here :)