GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SCANDEPS.PL (1)

.ds Aq ’

NAME

scandeps.pl - Scan file prerequisites

CONTENTS

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
    % scandeps.pl -R *.pm       # Dont recurse
    % scandeps.pl -C CACHEFILE  # use CACHEFILE to cache dependencies



DESCRIPTION

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

If the option -T is specified and you have <B>CPANPLUSB> installed, modules that are part of an earlier module’s distribution with be denoted with S; modules without a distribution name on CPAN are marked with ?.

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

Finally, modules that has loadable shared object files (usually needing a compiler to install) are marked with X; with the -V flag, those files (and all other files found) will be listed before the main output. Additionally, all module files that the scanned code depends on but were not found (and thus not scanned recursively) are listed. These may include genuinely missing modules or false positives. That means, modules your code does not depend on (on this particular platform) but that were picked up by the heuristic anyway.

OPTIONS

<B>-eB>, <B>--evalB>=STRING Scan STRING as a string containing perl code.
<B>-cB>, <B>--compileB> Compiles the code and inspects its %INC, in addition to static scanning.
<B>-xB>, <B>--executeB> Executes the code and inspects its %INC, in addition to static scanning. You may use <B>--xargsB> to specify @ARGV when executing the code.
<B>--xargsB>=STRING If <B>-xB> is given, splits the STRING using the function shellwords from Text::ParseWords and passes the result as @ARGV when executing the code.
<B>-BB>, <B>--bundleB> Include core modules in the output and the recursive search list.
<B>-RB>, <B>--no-recurseB> Only show dependencies found in the files listed and do not recurse.
<B>-VB>, <B>--verboseB> Verbose mode: Output all files found during the process; show dependencies between modules and availability.

Additionally, warns of any missing dependencies. If you find missing dependencies that aren’t really dependencies, you have probably found false positives.

<B>-CB>, <B>--cachedepsB>=CACHEFILE Use CACHEFILE to speed up the scanning process by caching dependencies. Creates CACHEFILE if it does not exist yet.
<B>-TB>, <B>--modtreeB> Retrieves module information from CPAN if you have <B>CPANPLUSB> installed.

SEE ALSO

Module::ScanDeps, CPANPLUS::Backend, PAR

ACKNOWLEDGMENTS

Simon Cozens, for suggesting this script to be written.

AUTHORS

Audrey Tang <autrijus@autrijus.org>

COPYRIGHT

Copyright 2003, 2004, 2005, 2006 by Audrey 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>

Search for    or go to Top of page |  Section 1 |  Main Index


perl v5.20.3 SCANDEPS (1) 2015-10-04

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.