Posts tagged perl

A pastebin with almost no user interface

I’ve always favoured pastebins that let you bin a paste and nothing more – p.defau.lt and sprunge.us spring to mind. I’ve made a Perl almost-clone of sprunge.us: p.hashbang.ca (since retired) now runs WWW::Hashbang::Pastebin, a simple …

Mocking LWP::UserAgent

Important update: Don’t follow this advice, follow that advice! chromatic mentioned how to use dependency injection in You’re Already Using Dependency Injection. Although I had read that when he posted it, I hadnt actually ever done it. …

Trimming whitespace in gedit with Perl

With gedit plugins, you can turn this simple text editor into a lightweight IDE. It’s fast, has good syntax highlighting, and can have code completion, shell integration, and many similar feature you might expect from an IDE. One feature it …

Revising perlopentut

At YAPC::NA 2011, I whined about the lack of codification of tribal knowledge in Perl. One area that’s ripe for fixing is the documentation on open. There’s a section in perlfunc for open, and a tutorial: perlopentut. That tutorial is where …

My YAPC::NA 2011 lightning talk

Well, YAPC::NA 2011 in Asheville, NC is over, and I had the opportunity (after getting bumped around more than a couple times) to give a lightning talk as part of the final session. I had previously done a blog post on the subject, but I …

Human usability testers wanted

When I wrote 1App::perlhl1 a few weeks ago, I was mostly concerned with getting it working. I picked colours more-or-less at random, and I noted that I planned to tweak them to achieve better readability. I’d like to do some hallway …

The death of tribal knowledge

Michael Schwern talks about Perl5’s shortcomings, and explains how perl5i can overcome many of them – it is a pragma to fix as much of Perl 5 as possible all at once. While I haven’t worked with perl5i much, I wanted to talk about something …