in reply to Re: delegate Moose accessors to a HASH?
in thread delegate Moose accessors to a HASH?
$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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: delegate Moose accessors to a HASH?
by ikegami (Patriarch) on Jun 23, 2011 at 19:59 UTC |