support Mouse->import({into_level => 1}).
[gitmo/Mouse.git] / t / lib / BaseClass.pm
CommitLineData
bfcc8a05 1package BaseClass;
2use Mouse;
3
4sub import {
5 my $pkg = caller(0);
6 Mouse->import({into_level => 1});
7 $pkg->meta->add_method('foo' => sub {'bar'});
8}
9
101;