$foo->that(10) # sets $foo->data->{that} = 10
I can make this work:
by adding :lvalue to the sub declarations, but that's not what I want.$foo->that = 10
In reply to Re^2: delegate Moose accessors to a HASH?
by perl5ever
in thread delegate Moose accessors to a HASH?
by perl5ever
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |