in reply to Moose roles
Kind monks, I'd like to ask some help with my problem with Moose. I'd like to create a trait, or even better an overloaded type that does special stuff with "around" accessor.
What exactly is it you want this to do? Without knowing what behavior you want to implement it is pretty hard to say what is the best way to approach this.
Also, an overloaded type is not the right approach to this, the types are just validators they do not control the behavior of the accessors. The attribute trait is the right direction to go on this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Moose roles
by dk (Chaplain) on Jan 13, 2010 at 18:02 UTC | |
by EvanCarroll (Chaplain) on Jan 13, 2010 at 21:58 UTC | |
by dk (Chaplain) on Jan 13, 2010 at 22:27 UTC |