Tie::MooseObject may be of interest to you - I'm not a fan of some of its design decisions though; I've often considered writing a replacement for it.
(In particular, if attribute "foo" has accessors get_foo and set_foo I don't want to have to do $hash{set_foo} = $x and $x = $hash{get_foo}. I expect to be able to do $hash{foo} = $x and $x = $hash{foo}.)
Update: I've finally gotten around to it.
In reply to Re: Tied Hash Interface to Moose Object.
by tobyink
in thread Tied Hash Interface to Moose Object.
by swestrup
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |