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
SCAN-PREREQS-CPANFILE(1) User Contributed Perl Documentation SCAN-PREREQS-CPANFILE(1)

scan-prereqs-cpanfile - Scan prerequisite modules and generate CPANfile

    % scan-prereqs-cpanfile

        --diff=META.json      # Generate diff from META.json
        --diff=cpanfile       # Generate diff from cpanfile
        --ignore=extlib/

This script scans prerequisite modules from your code, and generate CPANfile. You can also list missing prerequisite modules.

Used modules in `Build.PL` or `Makefile.PL` as 'test' requires
Used modules in `t/` as 'test' requires
Used modules in `xt/`, `benchmark/` and `author/` as 'develop' requires
Used modules in other directories as 'runtime' requires

--diff
        --diff=META.json      # Generate diff from META.json
        --diff=cpanfile       # Generate diff from cpanfile
    

Compare the scanning result with META.json, META.yml or cpanfile. With this option, scan-prereqs-cpanfile displays missing prerequisite modules only.

--ignore
    --ignore=tools/
    

Ignore some directories.

--include-empty
By default, phases without any prereqs are not dumped, By giving this option, cpanfile will have an empty block such as:

    on test => sub {

    };
    

Defaults to false.

--scan-test-requires (EXPERIMENTAL)
Scan test files and include the modules specified by Test::Requires as 'develop' requires.

Tokuhiro Matsuno

Module::CPANfile, Perl::PrereqScanner::Lite
2015-02-26 perl v5.32.1

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

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