Devel::AssertC99(3pm)

🌸 NAME 🌸

Welcome to Devel::AssertC99(3pm) from the User Contributed Perl Documentation, bestie β€” the manual name is right there and the whole flex is simple:

Devel::AssertC99 β€” C99 is available πŸ’…


✨ SYNOPSIS ✨

Okay so here's the group-chat version of the setup: you pull in Module::Build, then you use Devel::AssertC99 right at the check spot. Like this, fr fr:

           use Module::Build;
           use Devel::AssertC99; # <== check at here

           my $builder = Module::Build->new(
               configure_requires => {
                   'Devel::AssertC99',
               },
               ...
           );
           $builder->create_build_script;

That comment is doing main-character work: # <== check at here is literally where the check happens. Slay.


πŸ’– DESCRIPTION πŸ’–

So what does it do? This module checks the C99 compiler's availability. That's it, that's the assignment. 🫢

If C99 is not available, it exits with code 0. Yep β€” code 0, no cap. 😭

And because of that, it makes CPAN testers status show up as N/A. Iconic behaviour, honestly. ✨


Quick vibe check: the exit-with-0 thing is exactly what the original says, so don't come for me β€” I'm just relaying the facts with glitter. πŸ’€

Catch you later, bestie β€” this page is from perl v5.42.2 and dated 2023-07-03. πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from