Dec
27
Bug Fixing Day
Filed Under Perl | Leave a Comment
I have over 40 modules on CPAN, and probably average about 1 bug report a week (not including all the discussion that goes on the Class::DBI mailing list). Most of them are really simple to fix without much effort at all (such as typos in the docs), but like most of these things, if I [...]
Nov
15
Mutiny at the Maypole
Filed Under FireCore, Perl | Leave a Comment
For the last few months I’ve been a slightly more than casual observer of the Maypole project. Although I don’t actually run any sites on Maypole, it’s based on rather a lot of my public code, and a lot of issues people raise on the mailing list aren’t really about Maypole, so much as Class::DBI [...]
Nov
12
The Joys of CSV
Filed Under Perl, Spreadsheets | Leave a Comment
I’ve been working with CSV files a lot recently, mostly as a way of building web based management information tools out of SAGE data.
But I’ve always really hated working with the interface to Text::CSV_XS. So I put together Text::CSV::Simple. You just point it at the file you want, and read out all the rows:
my $parser [...]
Nov
11
MT Amazon Reading List
Filed Under Books, Perl, Wikis, Weblogs and Outliners | Leave a Comment
I’ve been asked which plugin I’m using to generate my “reading list” over on the sidebar. Like any true geek, of course, I actually wrote my own. Of course I’m generally into reuse where possible, but I wanted to learn how to write MT plugins, and it seemed like a good place to start. It [...]
May
1
::Simple
Filed Under Perl | Leave a Comment
As of this morning there are just under 250 modules on CPAN matching ‘::Simple’. I take a certain amount of blame for this. I’ve released a couple myself, and my kitchen has a credit as the birthplace of Test::Simple.
But I like to think that in those cases the module really does deserve the ’simple’ moniker. [...]
Apr
2
Kinky
Filed Under Perl | Leave a Comment
Hmmm. Apparently I make kinky error mesages.
Feb
1
CSV::Simple
Filed Under Perl | Leave a Comment
my @fields = split /,(?(?{$x&1})(?!))|”(?{++$x})(?!)/, $csv
The joys of state-machine regexes.
Nov
5
I just love it when I can delete code!
Filed Under Perl | Leave a Comment
Jim Weirich enthuses about deleting code.
I also love deleting code. In the past month I’ve managed to remove almost 33% of the code from a major work project. It’s been slowly growing in size for over a year, and I’ve managed to get it back to the level it was at in February; although it [...]
Nov
1
Paying the Price
Filed Under Perl | Leave a Comment
I also have spent the last 36 hours paying the price for that incident where we decided that the solution was to install an AUTOLOAD into the caller’s namespace…
Today I can at least move. I can’t see this large box of tissues lasting more than a day or so though…
Aug
7
CGI::FormBuilder
Filed Under Perl | Leave a Comment
I’ve been hacking on CGI::FormBuilder this week.
It’s very nifty, looks like it could save me a lot of work, and has one of the best websites for a module that I’ve ever seen.
But. It doesn’t quite do some things that I want. So I thought I’d subclass it, override some of the nasty bits, and [...]