../ext/Win32API/File/ExtUtils/Myconst2perl.pm

ParseAttribs

Parses user-firendly options into coder-firendly specifics.

Myconst2perl

Generates a file used to implement C constants as "constant subroutines" in a Perl module.

Extracts a list of constants from a module's export list by evaling the first part of the Module's *.pm file and then requesting some groups of symbols be exported/imported into a dummy package. Then writes C or C++ code that can convert each C constant into a Perl "constant subroutine" whose name is the constant's name and whose value is the constant's value.

 ../ext/Win32API/File/ExtUtils/Myconst2perl.pm