Fixing Perl after MacOS X Security Update 2009-001

Apple's first security update of 2009 for MacOS X may solve some security issues in the OS but it also seriously breaks Perl by installing old versions of some modules along with Perl. It looks like Perl works okay for things that MacOS X uses it for, but if you do development using it or have installed other modules than what it came bundled with you may find that it no longer works.

…You'll probably need to download it from CPAN by hand as the CPAN shell itself is broken by the update.

The current version (as of the time I'm writing this article) is 1.2301 – you can find it at http://search.cpan.org/~gbarr/IO-1.2301/IO.pm