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

✨ NAME ✨

XS::Parse::Sublike::Builder β€” build-time support for XS::Parse::Sublike πŸ’…


🌸 SYNOPSIS 🌸

okay so in Build.PL you're gonna do this, bestie:

use XS::Parse::Sublike::Builder;

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

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

...

πŸ’– DESCRIPTION πŸ’–

This module is your build-time bestie 🫢 β€” it helps out authors who are writing XS modules that use XS::Parse::Sublike. Basically it gets a Module::Build-using distribution all prepped and glowed-up so it can actually make use of XS::Parse::Sublike. iconic behaviour, honestly.


πŸ¦‹ FUNCTIONS πŸ¦‹

✨ write_XSParseSublike_h ✨

XS::Parse::Sublike::Builder->write_XSParseSublike_h;

ngl this method no longer does anything since version 0.22. it's giving retired πŸ’€ it's still here, it just vibes and does nothing.

🌈 extra_compiler_flags 🌈

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

Returns a list of extra flags that the build scripts should add to the compiler invocation. this is the part that lets your C compiler actually find the XSParseSublike.h file πŸ”₯ like, no flags, no file, no slay.

πŸ‘‘ extend_module_build πŸ‘‘

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

A convenient shortcut for doing all the tasks necessary to make a Module::Build-based distribution use the helper. it's the main character of this module tbh β€” one call and you're set ✨


πŸŽ€ AUTHOR πŸŽ€

Paul Evans <leonerd@leonerd.org.uk>


πŸ’Œ cute little sign-off for you: this page is from perl v5.42.3, dated 2026-09-17, and it lives in the User Contributed Perl Documentation. mwah πŸ’–
πŸ“¦ where this page comes from