1CPAN::Reporter::PrereqCUhseecrk(C3o)ntributed Perl DocumCePnAtNa:t:iRoenporter::PrereqCheck(3)
2
3
4
6 CPAN::Reporter::PrereqCheck - Modulino for prerequisite tests
7
9 version 1.2018
10
12 require CPAN::Reporter::PrereqCheck;
13 my $prereq_check = $INC{'CPAN/Reporter/PrereqCheck.pm'};
14 my $result = qx/$perl $prereq_check < $prereq_file/;
15
17 This modulino determines whether a list of prerequisite modules are
18 available and, if so, their version number. It is designed to be run
19 as a script in order to provide this information from the perspective
20 of a subprocess, just like CPAN::Reporter's invocation of "perl
21 Makefile.PL" and so on.
22
23 It reads a module name and prerequisite string pair from each line of
24 input and prints out the module name, 0 or 1 depending on whether the
25 prerequisite is satisfied, and the installed module version. If the
26 module is not available, it will print "n/a" for the version. If the
27 module is available but can't be loaded, it will print "broken" for the
28 version. Modules without a version will be treated as being of version
29 "0".
30
31 No user serviceable parts are inside. This modulino is packaged for
32 internal use by CPAN::Reporter.
33
35 Please report any bugs or feature using the CPAN Request Tracker. Bugs
36 can be submitted through the web interface at
37 <http://rt.cpan.org/Dist/Display.html?Queue=CPAN-Reporter>
38
39 When submitting a bug or request, please include a test-file or a patch
40 to an existing test-file that illustrates the bug or desired feature.
41
43 ยท CPAN::Reporter -- main documentation
44
46 David Golden <dagolden@cpan.org>
47
49 This software is Copyright (c) 2006 by David Golden.
50
51 This is free software, licensed under:
52
53 The Apache License, Version 2.0, January 2004
54
55
56
57perl v5.30.0 2019-07-26 CPAN::Reporter::PrereqCheck(3)