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.