The reader is assumed to have access to the perlguts manpage and the perlxs manpage . This tutorial starts with very simple examples and becomes more complex, bringing in more features that are available. Thus, certain statements towards the beginning may be incomplete. The reader is encouraged to read the entire document before lambasting the author about apparent mistakes. This tutorial is still under construction.
Constructive comments are welcome.
Our first extension will be very simple. When we call the routine in the extension, it will print out a well-known message and terminate. PL, Test1.pm, Test1.xs. This will create a real Makefile, which make needs. Now we'll create a test script, test1.pl in the Test1 directory.