Perl version

Modules

  • ABCDE
  • FGHIL
  • MNOPS
  • TUX

ExtUtils::Constant::Utils

Perl 5 version 26.1 documentation
Recently read

ExtUtils::Constant::Utils

NAME

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

SYNOPSIS

  1. use ExtUtils::Constant::Utils qw (C_stringify);
  2. $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 <[email protected]> based on the code in h2xs by Larry Wall and others