---
name: "Data::Checks::Builder"
section: "3pm"
platform: "linux"
package: "libdata-checks-perl"
version: "0.10-2+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Data::Checks::Builder"
---

# Data::Checks::Builder(3pm)

build-time support for "Data::Checks"

## NAME

"Data::Checks::Builder" - build-time support for "Data::Checks"

## SYNOPSIS

In *Build.PL*:

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

## DESCRIPTION

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

### extra\_compiler\_flags

```
   @flags = Data::Checks::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 *DataChecks.h* file.

### extend\_module\_build

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

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

## AUTHOR

Paul Evans \<leonerd@leonerd.org.uk\>
