in reply to Re: Interfaces for the masses!
in thread Interfaces for the masses!

An appropriate name for this would be UNIVERSAL::implements, so you'd be able to query classes for some specific behaviour...

With Class::Trait you'd do:

if ( eval { Class->does( 'interface' ) } ) { # do stuff }