CPAN::Reporter::PrereqCheck(3pm)

CPAN::Reporter::PrereqCheck3pm

Modulino for prerequisite tests

Usage

  require CPAN::Reporter::PrereqCheck;
  my $prereq_check = $INC{'CPAN/Reporter/PrereqCheck.pm'};
  my $result = qx/$perl $prereq_check < $prereq_file/;

Version

version 1.2020

Overview

This modulino determines whether a list of prerequisite modules are available and, if so, their version number. It is designed to be run as a script in order to provide this information from the perspective of a subprocess, just like CPAN::Reporter's invocation of "perl Makefile.PL" and so on.

It reads a module name and prerequisite string pair from each line of input and prints out the module name, 0 or 1 depending on whether the prerequisite is satisfied, and the installed module version. If the module is not available, it will print "n/a" for the version. If the module is available but can't be loaded, it will print "broken" for the version. Modules without a version will be treated as being of version "0".

No user serviceable parts are inside. This modulino is packaged for internal use by CPAN::Reporter.

Releases

6 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9–11
  3. 12
  4. 13

Bugs

Please report any bugs or feature using the CPAN Request Tracker. Bugs can be submitted through the web interface at <http://rt.cpan.org/Dist/Display.html?Queue=CPAN-Reporter>

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

Author

David Golden <[email protected]>

From libcpan-reporter-perl 1.2020-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.