1SCANDEPS(1)           User Contributed Perl Documentation          SCANDEPS(1)
2
3
4

NAME

6       scandeps.pl - Scan file prerequisites
7

SYNOPSIS

9           % scandeps.pl *.pm          # Print PREREQ_PM section for *.pm
10           % scandeps.pl -e 'STRING'   # Scan an one-liner
11           % scandeps.pl -B *.pm       # Include core modules
12           % scandeps.pl -V *.pm       # Show autoload/shared/data files
13

DESCRIPTION

15       scandeps.pl is a simple-minded utility that prints out the "PREREQ_PM"
16       section needed by modules.
17
18       If you have CPANPLUS installed, modules that are part of an earlier
19       module's distribution with be denoted with "S"; modules without a dis‐
20       tribution name on CPAN are marked with "?".
21
22       Also, if the "-B" option is specified, module belongs to a perl distri‐
23       bution on CPAN (and thus uninstallable by "CPAN.pm" or "CPANPLUS.pm")
24       are marked with "C".
25
26       Finally, modules that has loadable shared object files (usually needing
27       a compiler to install) are marked with "X"; with the "-V" flag, those
28       files (and all other files found) will be listed before the main out‐
29       put. Additionally, all module files that the scanned code depends on
30       but were not found (and thus not scanned recursively) are listed. These
31       may include genuinely missing modules or false positives. That means,
32       modules your code does not depend on (on this particular platform) but
33       that were picked up by the heuristic anyway.
34

OPTIONS

36       -e STRING
37           Scan STRING as a string containing perl code.
38
39       -c  Compiles the code and inspects its %INC, in addition to static
40           scanning.
41
42       -x  Executes the code and inspects its %INC, in addition to static
43           scanning.
44
45       -B  Include core modules in the output and the recursive search list.
46
47       -V  Verbose mode: Output all files found during the process; show
48           dependencies between modules and availability.
49
50           Additionally, warns of any missing dependencies. If you find miss‐
51           ing dependencies that aren't really dependencies, you have probably
52           found false positives.
53

SEE ALSO

55       Module::ScanDeps, CPANPLUS::Backend, PAR
56

ACKNOWLEDGMENTS

58       Simon Cozens, for suggesting this script to be written.
59

AUTHORS

61       Audrey Tang <autrijus@autrijus.org>
62
64       Copyright 2003, 2004, 2005, 2006 by Audrey Tang <autrijus@autri‐
65       jus.org>.
66
67       This program is free software; you can redistribute it and/or modify it
68       under the same terms as Perl itself.
69
70       See <http://www.perl.com/perl/misc/Artistic.html>
71
72
73
74perl v5.8.8                       2007-01-17                       SCANDEPS(1)
Impressum