On Fri, Feb 10, 2012 at 12:27 PM, Ovid <curtis_ovid_...@yahoo.com> wrote:


> Of course, both Acme::Combat::Chipmunk and Acme::Combat::Normal implement the 
> desired role. With that, you can swap out abilities as needed.

What if Joe is bitten by a Chipmunk *and* a Zombie? You'll need to
carefully design your roles with composition in mind then. This is
what stopped my first go at this problem using an Array trait.

-Chris

Reply via email to