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 )

Bulk88 – “Writing XS in Plain C”

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

Writing XS in Plain C Even if you learned C in a classroom at some point, Perl’s “XS” API for writing perl subs in something purported to be C but is really a cat on a tablet with caps lock on. In this talk I will show how difficult it is to write subs in […]

Read Full Post | Make a Comment ( Comments Off on Bulk88 – “Writing XS in Plain C” )

Graham Knop – “Continuous Integration for CPAN”

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

Continuous Integration for CPAN – youtube Continuous integration helps you catch issues in your modules across a more diverse set of configurations than is easy to check manually. Travis-CI and AppVeyor are free CI solutions for open source projects that will allow automatic testing on Linux, macOS, and Windows. Extra tools exist for easy testing […]

Read Full Post | Make a Comment ( Comments Off on Graham Knop – “Continuous Integration for CPAN” )

Specifying dependencies for your CPAN distribution

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

Specifying dependencies for your CPAN distribution […] I’m going to show you how to specify dependencies for your CPAN distributions: the other Perl and CPAN modules that your distribution relies on. Posts in this series: An introduction to CPAN distribution metadata Dependency phases in CPAN distribution metadata Specifying the type of your CPAN dependencies Specifying […]

Read Full Post | Make a Comment ( Comments Off on Specifying dependencies for your CPAN distribution )

XS Mechanics

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

XS Mechanics is an article in five parts about XS. It explains what it is, why it is, how it works, and how to use it. It includes a complete, working example of an XS module, and a stub module that you can use as a starting point for your own code. It is an […]

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

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 )

Exploring Inline::C (Generating primes)

Posted on April 30, 2017. Filed under: Uncategorized | Tags: , , , , , |

Exploring Inline::C (Generating primes) I set out to figure out how to use Inline::C today, and thought I’d share the experience from the perspective of someone who was using Inline::C for the first time.

Read Full Post | Make a Comment ( Comments Off on Exploring Inline::C (Generating primes) )

« Previous Entries

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