Skip to content
Browse files

Merge pull request #1 from moltar/master

Fixed deprecation warning
  • Loading branch information...
2 parents 7d8884a + 67e07d0 commit 8be8d8fff4944bcd0441564b76528056128e8c23 @crenz committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 Find.pm
View
2 Find.pm
@@ -179,7 +179,7 @@ sub _find(*) {
my $dir = File::Spec->catdir(split(/::/, $category));
my @dirs;
- if (defined @Module::Find::ModuleDirs) {
+ if (@Module::Find::ModuleDirs) {
@dirs = map { File::Spec->catdir($_, $dir) }
@Module::Find::ModuleDirs;
} else {

0 comments on commit 8be8d8f

Please sign in to comment.
Something went wrong with that request. Please try again.