Perl

vim, Ale, Syntastic and Perl::Critic

published on
As a vim user, I’ve used Syntastic for a long time. It’s a great tool for syntax checking. However, I was recently introduced to Ale. Ale does a lot of what Syntastic does, but it does it asynchronously. The practical benefits are You should experience less lag when editing large files Ale flags problematic lines containing errors and warnings in a gutter, making it easy to find problems Detailed information about errors and warnings appear at the bottom of your buffer I may actually be underselling it. Read More...

Announcing meta::hack v2

published on
It’s that time of year again. We did a bunch of hacking on MetaCPAN at the Perl Toolchain Summit and we got a lot done, but it wasn’t nearly enough. Our TODO list never gets shorter and there are lots of folks willing to pitch in, so today I’m announcing that meta::hack v2 will take place from Nov 16-19, 2017 at Server Central in Chicago. As a reminder of how things went with meta::hack v1, please refer to my wrap-up report from that event. Read More...

How I Spent my Perl Toolchain Summit 2017

published on
This was my 5th year of being invited to participate in the Perl Tool Chain Summit (formerly Perl QA Hackathon). It was a real pleasure to be invited to a rebranded version of the same helpful event. Our Sponsors This event would not have been possible without our sponsors. Let me take a moment to thank: Booking.com ActiveState cPanel FastMail MaxMind Perl Careers MongoDB SureVoIP Campus Explorer Bytemark CAPSiDE Charlie Gonzalez Elastic OpusVL Perl Services Procura XS4ALL Oetiker+Partner Overview For the second year in a row, MetaCPAN was well represented at the event. Read More...

Viewing Your Module Permissions on MetaCPAN

published on
We’re currently at the Perl Toolchain Summit in Lyon, working hard on improving MetaCPAN. One feature which we went live with yesterday is a view on CPAN module permissions. This means that you can now easily see which modules any CPAN author has permission to upload. If you want to see every module which Neil Bowers has permissions on, you can go to https://metacpan.org/permission/author/NEILB. You can get to this page via the module permissions link on the left sidebar of a MetaCPAN author page. Read More...

Preparing for LWP Hack Night

published on
I’ve had a couple of people ask me how they can prepare for LWP Hack Night, so I thought I’d just give a quick introduction to the set of modules. I whipped up a graph of the various GitHub repositories to give you an idea of which are the most popular and which have the most open issues. Those stats seem to roughly correspond. If you want to poke around the repositories on GitHub, that will give you an idea of where you can start. Read More...

Introducing LWP::ConsoleLogger::Everywhere

published on
In an earlier post, I introduced you to LWP::ConsoleLogger. I’ve been using it heavily since then, but one thing I didn’t tackle was how to debug a user agent you can’t easily get it. Some modules don’t provide a public API which allows you to access their user agent. Or, maybe the user agent which you want to debug is so far removed from your code that you can’t easily access its public API. Read More...

UserAgent Debugging Made Easy

published on
Earlier today I saw a recent blog post from Gabor Szabo. In it, he shows a very concise way to handle Basic Authentication using LWP::UserAgent. Now, what if you had a problem running the script? How might you go about debugging it? You could add a bunch of print statements. Maybe dump the request and the response objects. That’s entirely valid, but I want to show you a slightly simpler way of going about it, using LWP::ConsoleLogger::Easy. Read More...

Improving libwww-perl

published on
You may have noticed that WWW::Mechanize has seen some releases over the last couple of months. No big, breaking changes, but bugs have been fixed and enhancements have been shipped. This module is part of the libwww-perl ecosystem and also a part of the libwww-perl GitHub organization, to which I now also belong. I started pestering people to get involved because these modules, although quite important in the CPAN scheme of things, aren’t really on a regular release cycle. Read More...