Module...ompiler(3pm)
π Module::CPANTS::Kwalitee::NeedsCompiler
Okay bestie, so this page is from the Module::CPANTS::Kwalitee::NeedsCompiler manual (Perl, third section, 3pm β user contributed Perl docs, iykyk), and it's literally just one little Kwalitee check that's likeβ¦ does this module need a compiler? Probably a C one? Let's get into it. π§
β¨ NAME β¨
Module::CPANTS::Kwalitee::NeedsCompiler β it checks if your module needs a (probably C) compiler. That's it. That's the whole vibe check. π
β¨ SYNOPSIS β¨
It just checks if there's, like, some indication in the module that it needs a C compiler to build and install. Lowkey simple. π
β¨ DESCRIPTION β¨
πΈ Methods πΈ
π¦ order
This one defines the order in which the Kwalitee tests should be run, bestie. Sequencing matters!! π
It returns 200. Periodt.
π¦ analyse
Okay so here's where the actual detecting happens π β it checks for a file with .c, .h or .xs extensions. And it also checks whether the module depends on any of the Inline:: modules, or on ExtUtils::CBuilder, or on ExtUtils::ParseXS. That's the whole checklist, no cap.
TODO: (ooh, a note from the author themselves π«Ά)
How to recognize cases such as https://metacpan.org/release/GAAS/Perl-API-0.01/ and https://metacpan.org/release/Term-Size-Perl that generate the .c files during installation π
And in addition β there are modules that can work without their XS part. E.g. Scalar-List-Utils, Net-DNS, Template-Toolkit. For our purposes, these all should be marked as "need C compiler", because they need it for their full functionality and speed. Like, yeah, they can survive without it, but they're not thriving, you know? β
π¦ kwalitee_indicators
No Kwalitee Indicator. That's literally it. Nothing here. Move along π
π SEE ALSO π
Module::CPANTS::Analyseβ go look at that one next, bestie π
π AUTHOR π
GΓ‘bor SzabΓ³ <https://metacpan.org/author/szabgab>
π COPYRIGHT AND LICENSE π
Copyright Β© 2006β2008 GΓ‘bor SzabΓ³ <https://metacpan.org/author/szabgab>
You may use and distribute this module according to the same terms that Perl is distributed under. Slay, honestly. π
And that's the whole page, bestie!! π¦ This little cutie is from perl v5.40.1, dated 2026-07-05, and it's the Module...ompiler(3pm) page β go forth and know whether your module needs a compiler, mwah ππΈ
π¦ where this page comes from
- ubuntu stonking: libmodule-cpants-analyse-perl 1.03-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms