DOKK / manpages / debian 12 / perl-doc / ExtUtils::Constant::Utils.3perl.en
ExtUtils::Constant::Utils(3perl) Perl Programmers Reference Guide ExtUtils::Constant::Utils(3perl)

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

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

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

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.
A function which returns a 7 bit ASCII correctly \ escaped version of the string passed suitable for a perl "" string.

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

2023-11-25 perl v5.36.0