Posts tagged as:

perl

Perl Ain’t Dead…

March 3, 2010

If you’re new here, you may want to subscribe to my RSS feed. Or for more frequent updates you can follow me on Twitter. Thanks for visiting!I just stumbled across this whole other Perl eco-system I wasn’t aware existed, which is very much a mirror of the exciting/interesting things going on in Ruby/Python land.
I tend [...]

Read the full article →

Shwartzian Transform

December 24, 2009

I was trying to merge sort a list of files based on their last modified date when someone said to me “do a schwartzian”. Now, I had no idea what they were talking about so off to google I went.
It’s basically this (shamelessly ripped from the excellent Wikipedia article):

Read the full article →

Using TheSchwartz (Job Queue) with Catalyst

November 2, 2009

TheSchwartz is a job queue module written by the guy(s) behind LiveJournal. It simply allows you to add jobs to a queue, in this case a database, and then have scripts watching the queue (database) and running work tasks when jobs arrive that they know how to deal with.
I wrote down how I used [...]

Read the full article →

Open Melody, Homebrew, Catalyst/Mojo and Sinatra.

September 25, 2009

I just wanted to quickly highlight some interesting projects I’ve come across lately…
Open Melody

Open Melody is a fork of the popular blogging [/social media] platform Moveable Type. Its aim is to be completely backward compatible with Moveable Type but to have a more democratic development style.

Read the full article →

LWP::UserAgent and SSL

August 21, 2009

I’ve just spent the best part of a day, banging my head, trying to figure out why I couldn’t get LWP::UserAgent to connect to a URL (which happened to be an https url). I was looking at headers, manually in the browser, tried sending the request through a proxy, and finally, earlier today I [...]

Read the full article →

Become a Perl rockstar… AKA Perl link dump

August 20, 2009

Photo: I’m not a rockstar I’m a poseur.
I’m coding quite a lot of Perl again at the moment and I’ve been saving quite a lot of interesting Perl links to my delicious account which I’m going to share with you. They probably won’t make you a rockstar but it might improve your Perl knowledge. [...]

Read the full article →

Mad-Lib Perl Snippet

June 19, 2008

I bashed up a quick mad-lib perl class for use in some future scripts. If you don’t know what mad-lib is it’s basically a function that when given an input such as us:we:i:them:she:he will select one. Given a whole block of text with multiple parts to be ‘mad-libbed’ it can crank out many [...]

Read the full article →

A little script for you

April 28, 2008

A fair few weeks ago I wanted to see if I could still code any Perl, which I’m glad to say [I think] I can, so I decided to port a little php script to Perl. For some reason I can’t access the original post/script anymore, but it was deStone’s delicious referral spammer – [...]

Read the full article →