Moxie

 view release on metacpan or  search on metacpan

t/050-non-mop-integration/003-attributes-in-non-mop-inherited-class.t  view on Meta::CPAN

use Test::More;

{
    package My::Component;
    BEGIN { $INC{'My/Component.pm'} = __FILE__ }
    use strict;
    use warnings;

    sub new {
        my $class = shift;
        bless { @_ } => $class;
    }
}

{
    package App;
    use Moxie
        traits => [':experimental'];

    extends 'Moxie::Object', 'My::Component';

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.403 second using v1.00-cache-2.02-grep-82fe00e-cpan-1925d2aa809 )