XS::Pa...Builder(3pm)

okay bestie, this is the XS::Pa...Builder(3pm) page from User Contributed Perl Documentation ✨ short, sweet, and here to help your XS module build vibe check pass πŸ’…

πŸ’– NAME πŸ’–

"XS::Parse::Keyword::Builder" β€” build-time support for "XS::Parse::Keyword" 🫢 periodt.

✨ SYNOPSIS ✨

okay so, In Build.PL:

      use XS::Parse::Keyword::Builder;

      my $build = Module::Build->new(
         ...,
         configure_requires => {
            ...
            'XS::Parse::Keyword::Builder' => 0,
         }
      );

      XS::Parse::Keyword::Builder->extend_module_build( $build );

      ...

πŸ¦‹ DESCRIPTION πŸ¦‹

this module is your build-time helper bestie β€” it assists authors writing XS modules that use XS::Parse::Keyword πŸ’– it gets a Module::Build-using distribution ready to make use of XS::Parse::Keyword, and the way that just works is iconic ✨ no cap.

πŸŽ€ FUNCTIONS πŸŽ€

🌸 write_XSParseKeyword_h 🌸

XS::Parse::Keyword::Builder->write_XSParseKeyword_h;
okay listen: this method no longer does anything since version 0.43 πŸ’€ so don't expect a glow-up from it.

⭐ extra_compiler_flags ⭐

@flags = XS::Parse::Keyword::Builder->extra_compiler_flags;

this one returns a list of extra flags that your build scripts should add to the compiler invocation πŸ› οΈ why? so the C compiler can find the XSParseKeyword.h file 🎯 lowkey essential, fr fr.

πŸ’… extend_module_build πŸ’…

XS::Parse::Keyword::Builder->extend_module_build( $build );

a convenient shortcut that handles all the tasks necessary to make a Module::Build-based distribution use the helper ✨ it's giving "do the whole setup for me" energy, and honestly? obsessed 🫢

πŸ‘‘ AUTHOR πŸ‘‘

Paul Evans <leonerd@leonerd.org.uk> πŸ‘‘ the author, the icon, the main character of this page πŸ’œ


peace out bestie 🫢 this is perl v5.42.0, dated 2025-11-12, and it's the XS::Pa...Builder(3pm) manual page πŸ’…βœ¨

πŸ“¦ where this page comes from