diff --git a/dist.ini b/dist.ini index 858ae35..bd9e16d 100644 --- a/dist.ini +++ b/dist.ini @@ -1,5 +1,5 @@ name = STD -version = 0.02 +version = 0.03 license = Artistic_2_0 author = Larry Wall @@ -14,8 +14,8 @@ dir = data [ModuleBuild] mb_class = MyBuilder [Manifest] -[Prereq] [STD] +[Prereq] File::ShareDir = 1.02 Moose = 0 YAML::XS = 0 diff --git a/inc/MyBuilder.pm b/inc/MyBuilder.pm index eaae0e3..183d9bf 100644 --- a/inc/MyBuilder.pm +++ b/inc/MyBuilder.pm @@ -9,6 +9,6 @@ use v5.10; sub new { my ($self,@args) = @_; - $self->SUPER::new('pm_files'=>{map {$_ => $_} },@args); + $self->SUPER::new('pm_files'=>{map {$_ => $_} grep {! -d $_} ,},@args); } 1;