Data::...Builder(3pm)

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

πŸ’– Data::Checks::Builder πŸ’–

okay bestie, gather round, because this is the little build-time bestie that makes Data::Checks actually work in your XS module ✨

🌸 NAME 🌸

Data::Checks::Builder β€” it's the build-time support squad for Data::Checks. no cap.


πŸŽ€ SYNOPSIS πŸŽ€

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

use Data::Checks::Builder;

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

Data::Checks::Builder->extend_module_build( $build );

...

that's it, that's the vibe πŸ’…


✨ DESCRIPTION ✨

This module is a build-time helper that has your back if you're an author writing XS modules that use Data::Checks. 🫢 It gets a Module::Build-using distribution all set up so it can actually make use of Data::Checks. literally the glue holding the whole thing together, iykyk.

πŸ”§ extra_compiler_flags πŸ”§

@flags = Data::Checks::Builder->extra_compiler_flags;

hands you back a list of extra flags that your build scripts should add to the compiler invocation. why? because it lets the C compiler find the DataChecks.h file. yes, that's the whole point. iconic behavior. 🌈

πŸ¦‹ extend_module_build πŸ¦‹

Data::Checks::Builder->extend_module_build( $build );

this one is the convenient shortcut β€” it does all the tasks necessary to make a Module::Build-based distribution use the helper. one call, everything handled, main character energy fr fr πŸ‘‘


πŸ‘‘ AUTHOR πŸ‘‘

Paul Evans <leonerd@leonerd.org.uk> πŸ’œ


and that's the whole page, babe β€” perl v5.42.3, dated 2026-08-20, brought to you by User Contributed Perl Documentation. slay, go build something cute πŸŽ€βœ¨

πŸ“¦ where this page comes from