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=c86b2eddf9156c7d8e9ba3bd060e85afeb9734ba;hp=b449c54dcd2d0db0fde47dc3890eb37fd91c8825;hb=28e93f31852a563bc36e1fd58c28eb46beeec64d;hpb=a4dd2d8933ca2a9b4f627dfe6d03d679171372e4 diff --git a/lib/Devel/REPL/Profile.pm b/lib/Devel/REPL/Profile.pm index b449c54..c86b2ed 100644 --- a/lib/Devel/REPL/Profile.pm +++ b/lib/Devel/REPL/Profile.pm @@ -1,7 +1,6 @@ package Devel::REPL::Profile; use Moose::Role; -use namespace::clean -except => [ 'meta' ]; requires 'apply_profile'; @@ -14,7 +13,7 @@ Devel::REPL::Profile package Devel::REPL::Profile::MyProject; use Moose; - use namespace::clean -except => [ 'meta' ]; + use namespace::autoclean; with 'Devel::REPL::Profile'; @@ -68,6 +67,9 @@ To run the shell with a particular profile, use the following command: system$ re.pl --profile MyProject +Alternatively, you can set the environment variable C to +MyProject. + When the profile name is unqualified, as in the above example, the profile is assumed to be in the C namespace. Otherwise if you pass something which contains the C<::> character sequence, it will be loaded