Resources

Online Documentation

  • perldoc perlxs— Reference work for the external subroutine (xs) file specification.

  • perldoc perlxstut— Tutorial on creating modules.

Programs

  • h2xs— The program that translates C header files into Perl external subroutine (xs) files.

Modules

  • Extutils::MakeMaker— Module used by Makefile.PL to generate the real Makefile.

  • C::Scan— Module used by h2xs to parse the C header file.

  • DynaLoader— Module to automatically load dynamic libraries.

  • Autoloader— Module that automatically loads functions. In particular, it handles the calling of dynaloader to load functions in shared libraries.

Get Perl for C Programmers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.