Tag Archives: perl

DBD::mysql, MySQL and OS X Lion

I downloaded and installed MySQL Community Server 5.5.15 from http://dev.mysql.com/downloads/mysql/5.5.html Using CPAN, I then tried to install DBD::mysql on a fresh install of OS X Lion and was presented with an error saying it was unable to load the library. … Continue reading

Posted in Apple, Mac OSX, Programming | Tagged , | 1 Comment

Merging two hashrefs in Perl

I came across an interesting and very simple way to merge the contents of two hashrefs today. A hash is made up of pairs – a key and a corresponding value. As an example, the following can be pasted into … Continue reading

Posted in Programming | Tagged , | Comments Off

Template Toolkit (Pt 3)

Doh! It seems that Apache::Template (the mod_perl interface for Template Toolkit and a cool looking module) isn’t compatible with mod_perl 1.99 and Apache 2.0.x.

Posted in Programming | Tagged , | Comments Off

Template Toolkit (pt 2)

Having had a chance to read through most of the new Template Toolkit book from O’Reilly, I have to admit that it’s far more impressive than I first realised. Extra plugins and filters can be written and added into the … Continue reading

Posted in Programming | Tagged , | Comments Off

Template Toolkit

It’s just typical. I wait a couple of months for the new Template Toolkit book from O’Reilly to appear on Safari (the online bookshelf) and then when I give in and buy the paper copy it appears on Safari a … Continue reading

Posted in Programming | Tagged , | Comments Off

SOAP (no, not that sort)

I’ve been playing around with SOAP (Simple Object Access Protocol) in Perl recently. The example I wrote seems nice and straightforward and should even work with .NET thanks to some pointers from Rob.

Posted in Uncategorized | Tagged , , | Comments Off