X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FProfile.pm;h=26adf9e68a2098e8749440665b8004ff93519b66;hp=c86b2eddf9156c7d8e9ba3bd060e85afeb9734ba;hb=master;hpb=aa8b764738156914d48d182ee0706e4c3d4e5c99 diff --git a/lib/Devel/REPL/Profile.pm b/lib/Devel/REPL/Profile.pm index c86b2ed..26adf9e 100644 --- a/lib/Devel/REPL/Profile.pm +++ b/lib/Devel/REPL/Profile.pm @@ -1,27 +1,31 @@ package Devel::REPL::Profile; +# ABSTRACT: Code to execute when re.pl starts -use Moose::Role; +our $VERSION = '1.003030'; +use Moose::Role; requires 'apply_profile'; +use namespace::autoclean; -=head1 NAME +1; +__END__ -Devel::REPL::Profile +=pod =head1 SYNOPSIS package Devel::REPL::Profile::MyProject; - + use Moose; use namespace::autoclean; - + with 'Devel::REPL::Profile'; - + sub apply_profile { my ($self, $repl) = @_; # do something here } - + 1; =head1 DESCRIPTION @@ -79,10 +83,4 @@ as-is. Matt S Trout - mst (at) shadowcatsystems.co.uk (L) -=head1 LICENSE - -This library is free software under the same terms as perl itself - =cut - -1;