CPAN::Testers::Common::Client::PrereqCheck - Modulino for prerequisite tests
require CPAN::Testers::Common::Client::PrereqCheck; my $prereq_check = $INC{'CPAN/Testers/Common/Client/PrereqCheck.pm'}; my $result = qx/$perl $prereq_check < $prereq_file/;
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.
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::Testers::Common::Client.
CPAN::Testers::Common::Client -- main documentation
To install CPAN::Testers::Common::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::Testers::Common::Client
CPAN shell
perl -MCPAN -e shell install CPAN::Testers::Common::Client
For more information on module installation, please visit the detailed CPAN module installation guide.