man scandeps.pl () - Scan file prerequisites

NAME

scandeps.pl - Scan file prerequisites

SYNOPSIS

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

DESCRIPTION

scandeps.pl is a simple-minded utility that prints out the CWPREREQ_PM section needed by modules.

If you have CPANPLUS installed, modules that are part of an earlier module's distribution with be denoted with CWS; modules without a distribution name on CPAN are marked with CW?.

Also, if the CW-B option is specified, module belongs to a perl distribution on CPAN (and thus uninstallable by CWCPAN.pm or CWCPANPLUS.pm) are marked with CWC.

Finally, modules that has loadable shared object files (usually needing a compiler to install) are marked with CWX; with the CW-V flag, those files (and all other files found) will be listed before the main output.

OPTIONS

-e STRING
Scan STRING as a string containing perl code.
-c
Compiles the code and inspects its CW%INC, in addition to static scanning.
-x
Executes the code and inspects its CW%INC, in addition to static scanning.
-B
Include core modules in the output and the recursive search list.
-V
Verbose mode: Output all files found during the process; show dependencies between modules and availability.

SEE ALSO

Module::ScanDeps, CPANPLUS::Backend, PAR

ACKNOWLEDGMENTS

Simon Cozens, for suggesting this script to be written.

AUTHORS

Autrijus Tang <autrijus@autrijus.org>

COPYRIGHT

Copyright 2003, 2004, 2005 by Autrijus Tang <autrijus@autrijus.org>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See <http://www.perl.com/perl/misc/Artistic.html>