This goes along way to proving what I always say: I come up with the best ideas when I'm hung over.
Last time it was after our media office party. I wrote a script that allowed you to add speech bubbles onto the photos of the party from night before on the web (using Perl and GD.) Oh, how I laughed when my machine got up to a load of 38 (Good old Linux though, it didn't fall over.) Which just goes to show you need to think hard about these things before you release them. You'd have thought I'd have learned my lesson by now.
Anyway, the reason why I was getting drunk was a meeting of london.pm. Perl mongers. What fun. That's another time when we come up with crazy ideas.
As a new years resolution last year I gave up eating chocolate. So this year I couldn't have one of those nice advent calendars that gives you a chocolate based sweet each morning. So in my lunch break I wrote this module. It's not my best code, (infact it's pretty close to my worst code ever) but it was quick and dirty and got the job done. Hey, did I mention I was hungover?
Enough of this, It's friday night, and I'm going down the pub.
Mark Fowler <firstname.lastname@example.org>
Technology Developer, Profero
The basics for the code were written in the Template Toolkit, my templating system of choice. It's really just two pages. Oh, and maybe some other scripts I'd already written.
All code copyright Mark Fowler 2000. This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.