XS::Tutorial

Posted on January 12, 2018. Filed under: Uncategorized | Tags: , , , , , |

XS::Tutorial A couple of up-to-date tutorials for XS in Perl and C. Also includes a collection of references to other XS material.

Read Full Post | Make a Comment ( Comments Off on XS::Tutorial )

Git bisect and Perl

Posted on August 9, 2017. Filed under: Uncategorized | Tags: , , , , , |

Git bisect and Perl git bisect run treats certain exit values specially: 125 means the code cannot be tested, and 128 or higher will abort the bisect process. If Perl throws an exception it exits with 255 (instead of 0 for a pass and 1 for a test fail), aborting the bisect altogether. To fix […]

Read Full Post | Make a Comment ( Comments Off on Git bisect and Perl )

Getting started with XS

Posted on May 4, 2017. Filed under: Uncategorized | Tags: , , , , , , , |

Part 1: Getting started with XS Part 2: Writing your own XS functions Part 3: XS utility routines that are good to know eXtendable Subroutines (XS) are subroutines written in C that are callable from Perl code. There are two common reasons you’d want to use XS: there is a C library you’d like to […]

Read Full Post | Make a Comment ( Comments Off on Getting started with XS )

How to build a base module

Posted on November 30, 2016. Filed under: Uncategorized | Tags: , , , , , , |

How to build a base module When working on large Perl projects, a base module is a nice way to setup a standard set of imported routines for the other modules in the project. With a base module you can configure a logger, turn on pragmas and import any other useful routines. See also Import::Into

Read Full Post | Make a Comment ( Comments Off on How to build a base module )

Liked it here?
Why not try sites on the blogroll...