Implement automatic role loading for script classes.
[catagits/Catalyst-Runtime.git] / t / lib / ScriptTestApp / TraitFor / Script / Foo.pm
1 package ScriptTestApp::TraitFor::Script::Foo;
2 use Moose::Role;
3 use namespace::autoclean;
4
5 around run => sub {
6     my ($orig, $self, @args) = @_;
7     return $self->$orig(@args) . '42';
8 };
9
10 1;