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.In reply to Re: Can't use two Moose classes with the same coercion action
by castaway
in thread Can't use two Moose classes with the same coercion action
by KSURi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |