---
name: "ExtUtils::Constant::Utils"
section: "3p"
platform: "openbsd"
package: "man"
version: "8.0-current-20261101"
release: "OpenBSD 8.0-current (2026-11-01)"
platforms: ["openbsd"]
url: "https://new.carta.tech/ExtUtils::Constant::Utils"
---

# ExtUtils::Constant::Utils(3p)

helper functions for ExtUtils::Constant

## NAME

ExtUtils::Constant::Utils - helper functions for ExtUtils::Constant

## SYNOPSIS

```
    use ExtUtils::Constant::Utils qw (C_stringify);
    $C_code = C_stringify $stuff;
```

## DESCRIPTION

ExtUtils::Constant::Utils packages up utility subroutines used by ExtUtils::Constant, ExtUtils::Constant::Base and derived classes. All its functions are explicitly exportable.

## USAGE

- C\_stringify NAME

  A function which returns a 7 bit ASCII correctly \\ escaped version of the string passed suitable for C's "" or ''. It will die if passed Unicode characters.

- perl\_stringify NAME

  A function which returns a 7 bit ASCII correctly \\ escaped version of the string passed suitable for a perl "" string.

## AUTHOR

Nicholas Clark \<nick@ccl4.org\> based on the code in `"h2xs"` by Larry Wall and others
