Getting started with XS by David Farrell development xs extutils-makemaker stdlib.h rand perlapi xsubpp A gentle introduction to Perl's C interface Read it