NAME

ext/Config/Config.xs - gperf generated read-only Config hash as shared library

DESCRIPTION

Generated Config hash from ext/Config/Config_xs.in via ext/Config/Config_xs.PL

gperf --output-file=ext/Config/Config.xs ext/Config/Config_xs.in with cleanups for header, inline, C++ and c89.

The const %Config hash is tied to the values in the const wordlist perfect hash.

struct Perl_Config

Structure of generated read-only hash table with name and string value.

Functions

struct Perl_Config * Perl_Config_lookup(register const char *str, register unsigned int len)

API function to access the generated hash.

Testing

Mock::Config

%Config is now truly readonly. But some tests require to temporarily write a Config value. Use Mock::Config from CPAN to do that.