From: Jesse Luehrs Date: Thu, 17 Sep 2009 06:23:33 +0000 (-0500) Subject: add namespace::autoclean X-Git-Tag: 0.02~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FTask-Moose.git;a=commitdiff_plain;h=28ab6d9fc5fc65cb5ad7563aa83b64dcb5b8efda add namespace::autoclean --- diff --git a/Changes b/Changes index 4d7420e..7fc840f 100644 --- a/Changes +++ b/Changes @@ -12,6 +12,7 @@ Revision history for Perl extension Task-Moose - MooseX::NonMoose - MooseX::Types::DateTime - TryCatch + - namespace::autoclean - removed (doy): - MooseX::Method - MooseX::Compile diff --git a/Makefile.PL b/Makefile.PL index 7cd7240..0d32981 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -176,6 +176,10 @@ feature 'Support for PBP style accessors', -default => 0, 'MooseX::SemiAffordanceAccessor' => 0; +feature "Keep imported subroutines out of your class's namespace", + -default => 0, + 'namespace::autoclean' => 0; + # Utilities diff --git a/lib/Task/Moose.pm b/lib/Task/Moose.pm index e895f2e..8d87409 100644 --- a/lib/Task/Moose.pm +++ b/lib/Task/Moose.pm @@ -185,6 +185,10 @@ Class attributes for Moose Support for PBP style accessors +=head3 L + +Keep imported subroutines out of your class's namespace + =head2 Utilities =head3 L