Skip Menu |

This queue is for tickets about the Module-Find CPAN distribution.

Report information
The Basics
Id: 101685
Status: resolved
Priority: 0/
Queue: Module-Find

People
Owner: crenz [...] cpan.org
Requestors: ether [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.12
Fixed in: 0.14



Subject: dotfiles are returned, by default
My production system sometimes experiences errors like this: Can't opendir(/usr/local/lib/perl5/MyApp/Foo/.~tmp~): Permission denied at /usr/local/lib/perl5/Module/Find.pm line 197. ...which is caused by code that is executing at the same time rsync is in the process of deploying new code. It would be preferred if Module::Find ignored dotfiles by default, to avoid this. '.' is not a valid character in a perl module name, so a dotfile in a lib directory can never represent a valid module.
Thank you for reporting this issue. I made it the standard behavior to not return dot files.