Commits

Toby Inkster committed 1bdaff0

Path::Class::Rule -> Path::Iterator::Rule

  • Participants
  • Parent commits 3454d3d

Comments (0)

Files changed (1)

File lib/P5U/Command/Deps.pm

 {
 	my ($self, $opt, $args) = @_;
 	
-	require Path::Class::Rule;
-	require Path::Class::File;
-	require Path::Class::Dir;
-	
 	my @files = map {
 		-d $_
 			? $self->_mk_rule->all($_)
-			: "Path::Class::File"->new($_)
+			: "Path::Tiny"->new($_)
 	} @$args;
 	@files = $self->_mk_rule->all unless @$args;
 	
 
 sub _mk_rule
 {
-	"Path::Class::Rule"->new->skip_vcs->nonempty->perl_file
+	require Path::Iterator::Rule;
+	"Path::Iterator::Rule"->new->skip_vcs->nonempty->perl_file;
 }
 
 sub _get_deps