Explicitly return the DOES coderef if we install it
[gitmo/Role-Tiny.git] / t / role-basic / lib / My / Example.pm
CommitLineData
8e50c419 1package My::Example;
2
836aea1b 3use Role::Tiny 'with';
8e50c419 4
5with 'My::Does::Basic';
6
7sub new { bless {} => shift }
8
9sub turbo_charger {}
10$My::Example::foo = 1;
11sub foo() {}
12
131;