CPANPLUS
view release on metacpan or search on metacpan
inc/bundle/Module/Pluggable/Object.pm view on Meta::CPAN
} # foreach $searchpath
return @plugins;
}
sub _is_editor_junk {
my $self = shift;
my $name = shift;
# Emacs (and other Unix-y editors) leave temp files ending in a
# tilde as a backup.
return 1 if $name =~ /~$/;
# Emacs makes these files while a buffer is edited but not yet
# saved.
return 1 if $name =~ /^\.#/;
# Vim can leave these files behind if it crashes.
return 1 if $name =~ /^[._].*\.s[a-w][a-z]$/;
return 0;
}
( run in 0.501 second using v1.01-cache-2.11-cpan-49f99fa48dc )