XS::Parse::Sublike::Builder(3pm)

XS::Parse::Sublike::Builder3pm

Build-time support for "xs::parse::sublike"

Usage

In Build.PL:

   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 );
   ...

Overview

This module provides a build-time helper to assist authors writing XS modules that use XS::Parse::Sublike. It prepares a Module::Build-using distribution to be able to make use of "XS::Parse::Sublike".

Functions

write_XSParseSublike_h

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

This method no longer does anything since version 0.22.

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 enables the C compiler to find the XSParseSublike.h file.

extend_module_build

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

A convenient shortcut for performing all the tasks necessary to make a Module::Build-based distribution use the helper.

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

Author

Paul Evans <[email protected]>

From libxs-parse-sublike-perl 0.37-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.