1package ScriptTestApp::Script::Foo; 2use Moose; 3use namespace::clean -except => [ 'meta' ]; 4 5with 'Catalyst::ScriptRole'; 6 7sub run { __PACKAGE__ } 8 91; 10