[76]The name
h2xs has an interesting pedigree. Back in the
early days of Perl 5, Larry invented the XS
language to describe the glue code that Perl needs to talk to
C-language functions and libraries. Originally, this code was written
entirely by hand, but the h2xs tool was written to
scan simple C-include header files (ending in .h)
and generate most of the XS directly. Hence, h
"2" (to) XS.
Over time, more functions were added, including generating template
files for the rest of the distribution. Now here we are, about to
describe how to use h2xs for things that
aren't either h or
xs. Amazing.