CPAN::...eqCheck(3pm)

πŸ“¦
version 1.2020 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

✨ 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
  • 0 or 1 depending 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/a for the version 🚫
  • if the module is available but can't be loaded, it prints broken for 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>


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