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: , , , , |

Getting started with XS 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 use with Perl, or you want to make a subroutine faster by processing it in C instead of Perl. […]

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...