Excerpts from Buddy Burden's message of Thu Jan 28 18:52:37 -0500 2010:
> So is there any way to have one attribute be the argument curried to
> another attribute's methods?

No.

MooseX::AttributeHelpers had coderef curries that could have done it, but we
dropped them when it got cored, because it was basically just an inline
around().

We've talked about bringing back coderefs for handles, but invoking them only
to munge @_, which would make your example something like

  has model => (
    handles => { foo => [ foo, sub { shift->property, @_ } ] }
  )

It's only theoretical so far, though.

hdp.

Reply via email to