On Tue, Sep 8, 2009 at 7:46 PM, <mega...@gmail.com> wrote:
> Yuri
>
> Are you doing this in order to effect duck-typing? If so, you may want to
> consider applying the attributes with a Role, and using this idiom:
> if ($obj->does('fooer')) {}

Or there is the duck_type helper in Moose::Util::TypeConstraints.

-Chris

Reply via email to