Posts Tagged ‘perl’

Old(er) modules via CPAN

Monday, November 10th, 2008

Today I tried to install Data::FormValidator via CPAN but the “make test” for version 4.61 failed for whatever reasons (it seemed to be looking for perl 6, which this box is obviously not using). A quick google search reveiled that you can issue the following to install an older version:

cpan> install M/MA/MARKSTOS/Data-FormValidator-4.57.tar.gz

(I found the previous version by looking at a CPAN mirror, but there probably is a CPAN command to search for previous versions also.)

Finding the version of an installed perl module

Thursday, August 28th, 2008

I saw a client post this in a ticket:

$ perl -le 'use Archive::Tar; print $Archive::Tar::VERSION'
1.30
$ perl -le 'use DBI; print $DBI::VERSION'
1.52
$

Nice!