Blog Archives

How to become a CPAN contributor

Posted on August 3, 2018. Filed under: Uncategorized | Tags: , , , , , , , |

How to become a CPAN contributor To become a CPAN contributor, you don’t need to write a new CPAN distribution, you just need to submit a change to an existing distribution that gets accepted by the author. If you’ve never gotten your hands dirty editing Perl modules, the first question that may come to mind […]

Read Full Post | Make a Comment ( Comments Off on How to become a CPAN contributor )

Exploring Type::Tiny

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

Type::Tiny is probably best known as a way of having Moose-like type constraints in Moo, but it can be used for so much more. This is a series of posts showing other things you can use Type::Tiny for. A seven part series posted to blogs.perl.org and perlmonks Using Type::Params for Validating Function Parameters — perl.org […]

Read Full Post | Make a Comment ( Comments Off on Exploring Type::Tiny )

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 )

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 )

« Previous Entries Next Entries »

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