in reply to Testing with Roles

What does this role do such that you want to fake it? In my experience, roles rarely mean I need to fake things.

With that said, you can always override DOES() in the class, though if you lie to the type system, you might get weird results.


Improve your skills with Modern Perl: the free book.