Commits

Toby Inkster committed b3cb33d

avoid using -all with Sub::Exporter::Progressive

  • Participants
  • Parent commits 7f2b044

Comments (0)

Files changed (2)

lib/MooX/ClassAttribute.pm

 use Carp;
 use Moo ();
 use Moo::Role ();
-use MooX::CaptainHook -all;
+use MooX::CaptainHook qw( on_application on_inflation is_role );
 
 BEGIN { *ROLE = \%Role::Tiny::INFO }
 our %ROLE;

t/23hook_infl_noop.t

 {
 	package Local::Role;
 	use Moo::Role;
-	use MooX::CaptainHook -all;
+	use MooX::CaptainHook qw( on_application on_inflation is_role );
 	
 	on_application { 1 };
 	on_inflation { 1 };
 {
 	package Local::Class;
 	use Moo; with 'Local::Role';
-	use MooX::CaptainHook -all;
+	use MooX::CaptainHook qw( on_application on_inflation is_role );
 	
 	on_application { 1 };
 	on_inflation { 1 };