- SEE ALSO
LEOCHARRE::PMUsed - check what modules are used in a directory
Will recurse all pl, t, pm and any files in bin for use $modulename. Basically check all perl and find what modules are being used.
Also check if they are installed; optionally.
argument is a module name, like PDF::API2. returns boolean, warns if not installed.
argument is abs path to dir to start from, your dev base etc. Find all .t .pm .pl files, also if there is a bin dir, will seek perl scripts returns array ref with abs paths to files.
argument is abs path to a perl code file, returns hash ref, each key is a module name, the value is the count of times seen.
returns undef and warns if file not there
this list includes modules used and modules required. if a require such as library.pl is present, this is discarded. all requires of names with a dot are discarded.
argument is abs dir, such as /home/me/dev/MySuperThing. scans entire filetree
returns hash ref, each key is a module name, the value is the count of times seen.
Leo Charre leocharre at cpan dot org