http://www.perlmonks.org?node_id=760062


in reply to Can't use two Moose classes with the same coercion action

You can also put your coercion in a separate types class, and include that in both Foo and Bar, then you only get them loaded once.

C.
  • Comment on Re: Can't use two Moose classes with the same coercion action

Replies are listed 'Best First'.
Re^2: Can't use two Moose classes with the same coercion action
by KSURi (Monk) on Apr 27, 2009 at 10:59 UTC
    I've done this right after I was advised to read documentation carefully :) But thanks