Blog Archives
Posted on September 1, 2017. Filed under: Uncategorized | Tags: perl, perlmonks |
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 )
Posted on August 9, 2017. Filed under: Uncategorized | Tags: author:david.farrell, git, git-bisect, perl, r/perl, reddit |
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 )
Posted on June 23, 2017. Filed under: Uncategorized | Tags: author:bulk88, c, perl, tpc, video, xs, yapc, yapc:na:2017 |
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” )
Posted on June 23, 2017. Filed under: Uncategorized | Tags: appveyor-ci, author:haarg, ci, perl, testing, tpc, travis-ci, video, yapc, yapc:na:2017 |
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” )
Posted on May 10, 2017. Filed under: Uncategorized | Tags: author:neilb, cpan, cpan:app-modulebuildtiny, cpan:cpan-meta, cpan:dist-zilla, cpan:extutils-makemaker, cpan:minilla, cpan:module-build, cpan:module-cpanfile, cpan:module-install, perl |
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 )
Posted on May 4, 2017. Filed under: Uncategorized | Tags: c, meta, perl, xs |
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 )
Posted on May 4, 2017. Filed under: Uncategorized | Tags: author:david.farrell, c, cpan:xs-tutorial, meta, perl, r/perl, reddit, xs |
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 )
« Previous Entries Next Entries »