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 )

Quieting Test::More

Posted on March 31, 2018. Filed under: Uncategorized | Tags: , , , , , , , |

Quieting Test::More stevieb asked: is there a way to have Test::More (or Test::Most, etc) only display failing tests? haukex replied with with following code:     use File::Spec;     Test::More->builder->output(File::Spec->devnull);

Read Full Post | Make a Comment ( Comments Off on Quieting Test::More )

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 )

cpan-river-1000

Posted on December 27, 2017. Filed under: Uncategorized | Tags: , , , |

Updated CPAN River available This is an nntp.perl.org archived post from the Perl QA mailing list. Links to this gist.

Read Full Post | Make a Comment ( Comments Off on cpan-river-1000 )

Automated testing on Windows with AppVeyor

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

Automated testing on Windows with AppVeyor AppVeyor is a continuous integration service similar to Travis CI, just on Windows. If you have a Perl module on GitHub, it’s not that hard to have it run tests automatically on Windows; it’s just not well documented.

Read Full Post | Make a Comment ( Comments Off on Automated testing on Windows with AppVeyor )

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 )

Docker based Continuous Integration for perl projects

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

Docker based Continuous Integration for perl projects Continuous Integration for Perl using Shippable and Docker from a Github or BitBucket repo.

Read Full Post | Make a Comment ( Comments Off on Docker based Continuous Integration for perl projects )

Code Reuse

Posted on September 1, 2017. Filed under: Uncategorized | Tags: , |

Code Reuse Hi, I’m looking to do something like this: Package GlobalDefined; use strict; use warnings; our $PROJECT_GLOBAL_VAR1; … # Tools use Data::Dumper; … 1; Now, I’d like to add some kind of use/require so that the definitions that I include in global defines are taken in other packages/scripts. That means not only the global […]

Read Full Post | Make a Comment ( Comments Off on Code Reuse )

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 )

Re: Quieting Test::More

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

Re: Quieting Test::More # make Test::More only display fails # (also works with Test::Most) use File::Spec; Test::More->builder->output(File::Spec->devnull);

Read Full Post | Make a Comment ( Comments Off on Re: Quieting Test::More )

« Previous Entries

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