App-distfind
view release on metacpan or search on metacpan
run
The main function, which is called by the "distfind" program.
normalize_dirs
This function takes a reference to an array of directory specifications.
It then normalizes them by splitting them along colon or semicolon
characters and filters out duplicates. Tilde characters will be expanded
to $ENV{HOME}. The returning list is returned as an array reference.
find_dists
Traverses the given directories, looks for Perl module distributions,
and returns a list of paths to those distribution directories. See
"--prune" for directories that will be pruned. Also if a Perl module
distribution directory is found, it is then pruned because we assume
that it won't recursively contain another Perl module distribution.
OPTIONS
Options can be shortened according to "Case and abbreviations" in
Getopt::Long.
"--dir"
lib/App/distfind.pm view on Meta::CPAN
=head2 normalize_dirs
This function takes a reference to an array of directory specifications. It
then normalizes them by splitting them along colon or semicolon characters and
filters out duplicates. Tilde characters will be expanded to C<$ENV{HOME}>.
The returning list is returned as an array reference.
=head2 find_dists
Traverses the given directories, looks for Perl module distributions, and
returns a list of paths to those distribution directories. See C<--prune> for
directories that will be pruned. Also if a Perl module distribution directory
is found, it is then pruned because we assume that it won't recursively
contain another Perl module distribution.
=head1 OPTIONS
Options can be shortened according to L<Getopt::Long/"Case and
abbreviations">.
( run in 0.401 second using v1.01-cache-2.11-cpan-64827b87656 )