ExtUtils::Constant::Utils(3perl)

ExtUtils::Constant::Utils3perl

Helper functions for extutils::constant

Usage

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

Overview

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.

Releases

11 releases since Debian 4.0 (Etch); the text changed 10 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13
  11. Arch

Author

Nicholas Clark <[email protected]> based on the code in "h2xs" by Larry Wall and others

From perl 5.44.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.