Dist::Zilla::Starter – Guide to getting started with Dist::Zilla

Posted on May 18, 2019. Filed under: Uncategorized | Tags: , , , , , |

Dist::Zilla::Starter – Guide to getting started with Dist::Zilla I’ve been trying to put together this guide for a while, as a modern introduction to the intentions and inner workings of Dist::Zilla, there isn’t much out there that really tells you how it works and why. Dist::Zilla::Starter @ MetaCPAN

Read Full Post | Make a Comment ( Comments Off on Dist::Zilla::Starter – Guide to getting started with Dist::Zilla )

Patching Perl: loading modules that return false

Posted on July 24, 2018. Filed under: Uncategorized | Tags: , , , , |

Patching Perl: loading modules that return false If you’ve been programming Perl for a while, you’ve probably run into this exception: Foo.pm did not return a true value. This is a peculiar quirk of the require function: modules must return a true value else Perl interprets it as a failure via r/perl [reddit]

Read Full Post | Make a Comment ( Comments Off on Patching Perl: loading modules that return false )

A Guide to Versions in Perl

Posted on April 14, 2018. Filed under: Uncategorized | Tags: , , , , , |

A Guide to Versions in Perl Version numbers in Perl are very important; they allow orderly updating and maintenance of modules and distributions across the CPAN, and allow CPAN modules and consumers to require the versions of modules with the bugfixes or features they need. However, in this context, they are also a very unique […]

Read Full Post | Make a Comment ( Comments Off on A Guide to Versions in Perl )

Fixing Legacy Perl Functions With Decorators

Posted on October 21, 2017. Filed under: Uncategorized | Tags: , , , , , , , |

Fixing Legacy Perl Functions With Decorators Function decorators give us a way to modify a function’s behaviour without changing its source. This is useful in changing the behaviour of complex or legacy functions that you don’t want to touch. Although perl does not have a built-in syntax for creating or using decorators, typeglob manipulations are […]

Read Full Post | Make a Comment ( Comments Off on Fixing Legacy Perl Functions With Decorators )

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 )

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