So it comes in and out of cpan. This makes it easier for me to maintain the code. In fact I should probably turn it into a single Perl script, so I can standardise the error handling, and resume from the point of any crashes.