CPAN::...eqCheck(3pm)
β¨ NAME β¨
okay bestie, so this is CPAN::Reporter::PrereqCheck β a lil modulino (yes that's a real word, it's a module + a script having a lil identity crisis π
) that does prerequisite tests. And btw the manual name for this whole page is CPAN::...eqCheck(3pm) and it lives in the User Contributed Perl Documentation section, iykyk. π«Ά
π VERSION π
version 1.2020
like. she's a specific girl. periodt. β¨
πΈ SYNOPSIS πΈ
require CPAN::Reporter::PrereqCheck;
my $prereq_check = $INC{'CPAN/Reporter/PrereqCheck.pm'};
my $result = qx/$perl $prereq_check < $prereq_file/;
literally that's it, that's the whole vibe check π₯
π DESCRIPTION π
so the way this modulino works is: it figures out whether a list of prerequisite modules are available and, if they are, what their version number is. no cap.
and here's the important part β it's designed to be run as a script, so it reports all this stuff from the perspective of a subprocess. exactly like how CPAN::Reporter invokes perl Makefile.PL and so on. main character subprocess energy, honestly. π
It reads a module name and prerequisite string pair from each line of input π₯ and then prints out:
- the module name
0or1depending on whether the prerequisite is satisfied- the installed module version
and the edge cases? bestie, she handles them:
- if the module is not available, it prints
n/afor the version π« - if the module is available but can't be loaded, it prints
brokenfor the version π - modules without a version get treated as being of version
0
π¨ No user serviceable parts are inside. This modulino is packaged for internal use by CPAN::Reporter. Don't be out here poking around, she's not for you like that. π
π¦ 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. (yes, actual evidence, not just vibes β we love a documented repro π«Ά)
β SEE ALSO β
CPAN::Reporterβ main documentation (go read her, she's the icon here π)
π AUTHOR π
David Golden <dagolden@cpan.org>
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2023 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
okay that's the whole page bestie, you ate that πβ¨ β and just so we're keeping receipts, this came from perl v5.40.0, dated 2024-08-17, filed under CPAN::...eqCheck(3pm). mwah π
π
π¦ where this page comes from
- ubuntu resolute: libcpan-reporter-perl 1.2020-1 Β· Apache-2.0
- ubuntu stonking: libcpan-reporter-perl 1.2020-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms