Re: MooseX::Types coercions and $self

2010-12-19 Thread John Napiorkowski
- Original Message > From: Evan Carroll > To: "moose@perl.org ML" > Sent: Fri, December 17, 2010 3:00:06 PM > Subject: MooseX::Types coercions and $self > > Copied from http://stackoverflow.com/q/4473327/124486 > > The below is not as well form

MooseX::Types coercions and $self

2010-12-17 Thread Evan Carroll
Copied from http://stackoverflow.com/q/4473327/124486 The below is not as well formatted: Is there anyway to get $self into a MooseX::Types coercion? I have other data in the object that I want to use to seed my coercion from a String to an Object. Alternatively, is there anything like Class::MOP