Tim Bunce > Module-Dependency-1.86 > pmd_indexer

Download:
Module-Dependency-1.86.tar.gz

Annotate this POD

CPAN RT

Open  2
View/Report Bugs
Source  

NAME ^

pmd_indexer - make Module::Dependency index

SYNOPSIS ^

        pmd_indexer.plx [-h] [-t] [-o <datafile>] -b <directory> [<directory>...]

        -h Displays this help
        -t Displays trace messages
        -b Actually build the indexes
        -o the location of the datafile

        Followed by a list of directories that you want to index.

EXAMPLE ^

        pmd_indexer.plx -o ./unified.dat -t -b ~/src/dependency/

DESCRIPTION ^

Module::Dependency modules rely on a database of dependencies because creating the index at every runtime is both expensive and unnecessary. This program uses File::Find for every named directory and looks for .pl and .pm files, which it then extracts dependency information from.

The default index file is $ENV{PERL_PMD_DB} or /var/tmp/dependence/unified.dat but you can specify another using the -o option.

VERSION ^

$Id: pmd_indexer.plx 6643 2006-07-12 20:23:31Z timbo $

syntax highlighting: