Category Archives: Code

Shwartzian Transform

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. … Continue reading

Posted in Code | Tagged | Comments Off

Become a Perl rockstar… AKA Perl link dump

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 … Continue reading

Posted in Code | Tagged | Comments Off

Mad-Lib Perl Snippet

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 … Continue reading

Posted in Code | Tagged , | Comments Off

A little script for you

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 … Continue reading

Posted in Code | Tagged , | Comments Off