Blog Archives

Emulating Just About Any RESTful JSON API

Posted on January 31, 2017. Filed under: Uncategorized | Tags: , , , |

Emulating Just About Any RESTful JSON API My conclusion is that you should write an emulator for any service you are developing against. Not just that but release an emulator for any RESTful APIs you are developing for others so they can trivially test their client code. Having done the emulation dance for at least […]

Read Full Post | Make a Comment ( Comments Off on Emulating Just About Any RESTful JSON API )

Send in a Perl aref to C, get back a Perl array (and using the generated XS)

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

Send in a Perl aref to C, get back a Perl array (and using the generated XS) This will show you how to pass a Perl array reference (aref) into a C function, convert the aref into a C array, work on it, then push it back onto the stack so the C function returns […]

Read Full Post | Make a Comment ( Comments Off on Send in a Perl aref to C, get back a Perl array (and using the generated XS) )

Applications with Mojolicious

Posted on January 11, 2017. Filed under: Uncategorized | Tags: , |

Applications with Mojolicious This is the first post of a series on the Mojolicous web framework originating from my experiences at ISP, Fachbereich Informatik of the Technische Universität Darmstadt. Step by step, we will create a simple blogging platform using Mojolicious. Only 7/12 parts completed

Read Full Post | Make a Comment ( Comments Off on Applications with Mojolicious )

RFC: new.pm – a perl -e use/new shortener

Posted on December 25, 2016. Filed under: Uncategorized | Tags: , |

RFC: new.pm – a perl -e use/new shortener I tend to use perl one-liners extensively, mostly for testing purposes. In particular, I often load a module with a loooooooooong name only to instantiate it once. And it’s boooooooring to type the whole name twice. So I came up with an idea of a one-liner shortener […]

Read Full Post | Make a Comment ( Comments Off on RFC: new.pm – a perl -e use/new shortener )

Perl Advent Calendar 2016

Posted on December 5, 2016. Filed under: Uncategorized | Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , |

Perl Advent Calendar 2016 Graphing Moose Classes Automatically – Meta::Grapher::Moose Jingle Refs, Jingle Refs, Jingle all the way – Ref::Util Benchmarking with Bencher – Bencher Yuletide Logging – Log::Any Gathering all the Presents – List::Gather Help Santa Klaus Reward Only Nice Children -Schedule::LongSteps Writing git hooks – Git::Hooks Geocoding the world at volume with open […]

Read Full Post | Make a Comment ( Comments Off on Perl Advent Calendar 2016 )

C::Blocks Advent Calendar 2016

Posted on December 3, 2016. Filed under: Uncategorized | Tags: , , , , , , |

C::Blocks Advent Calendar Perl is great, but sometimes I find myself reaching for C to do some of my computational heavy lifting. There are many tools that help you interface Perl and C. This module differs from most others out there by providing a way of inserting your C code directly where you want it […]

Read Full Post | Make a Comment ( Comments Off on C::Blocks Advent Calendar 2016 )

How to build a base module

Posted on November 30, 2016. Filed under: Uncategorized | Tags: , , , , , , |

How to build a base module When working on large Perl projects, a base module is a nice way to setup a standard set of imported routines for the other modules in the project. With a base module you can configure a logger, turn on pragmas and import any other useful routines. See also Import::Into

Read Full Post | Make a Comment ( Comments Off on How to build a base module )

Write Perl XS modules in Swift

Posted on October 28, 2016. Filed under: Uncategorized | Tags: , , , |

github.com/my-mail-ru/swiftperl swiftperl is designed to provide an easy and smooth interoperability between Swift and Perl languages. The primary goal is to write XS modules for Perl entirely in Swift, though running Perl interpreter in Swift environment is also possible.

Read Full Post | Make a Comment ( Comments Off on Write Perl XS modules in Swift )

Testing with AppVeyor

Posted on October 25, 2016. Filed under: Uncategorized | Tags: , , , , |

Testing with AppVeyor If you ever wanted to test your CPAN modules on Windows systems without having an own Windows system setup, then you should take a look at AppVeyor. Basically it’s something like travis-ci, but just running on Windows. Configuration happens in a YAML file named appveyor.yml. See also PDL appveyor.yml on github

Read Full Post | Make a Comment ( Comments Off on Testing with AppVeyor )

sending email with TLS (in Perl)

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

sending email with TLS (in Perl) Every once in a while I hear or see somebody using one of the two obsolete secure SMTP transports for Email::Sender, and I wanted to make one more attempt to get people to switch, or to get them to tell me why switching won’t work.

Read Full Post | Make a Comment ( Comments Off on sending email with TLS (in Perl) )

« Previous Entries Next Entries »

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