Commits

Toby Inkster committed 5e75c1e

actually make use of namespace::clean

  • Participants
  • Parent commits b080170

Comments (0)

Files changed (1)

File lib/Scalar/Does.pm

 	sub code { shift->constraint };
 }
 
+sub _lu {
+	require lexical::underscore;
+	goto \&lexical::underscore;
+}
+
+use constant MISSING_ROLE_MESSAGE => (
+	"Please supply a '-role' argument when exporting custom functions, died"
+);
+
+use Carp             0     qw( confess );
+
+use namespace::clean 0.19;
+
 use constant \%_CONSTANTS;
-use Carp             0     qw( confess );
-use namespace::clean 0.19  qw();
 use Scalar::Util     1.24  qw( blessed reftype looks_like_number );
 
 use Sub::Exporter -setup => {
 	},
 };
 
-sub _lu {
-	require lexical::underscore;
-	goto \&lexical::underscore;
-}
-
 my %ROLES;
 {
 	no warnings;
 	return;
 }
 
-use constant MISSING_ROLE_MESSAGE => (
-	"Please supply a '-role' argument when exporting custom functions, died"
-);
-
 sub _build_custom
 {
 	my ($class, $name, $arg) = @_;