pileofrogs has asked for the wisdom of the Perl Monks concerning the following question:

I have a module that I know works with version.pm 0.7203 and I know doesn't work with version.pm 0.6701.

What's the best way to find the oldest working version? Of version.pm or any other module?

I also don't really know how to specify versions in CPAN, or how to search for multiple versions, so help there is also appreciated.

Thanks!
--Pileofrogs

Replies are listed 'Best First'.
Re: Figure out required versions
by pc88mxer (Vicar) on May 16, 2008 at 17:49 UTC
    You could create your own lib directory (i.e. in your home directory) and install various versions of version.pm there. Then use
    use lib '/home/me/lib'; ...rest of script...
    or perl -I/home/me/lib ... to have perl search your lib directory before the standard locations.

    See perldoc perlmodinstall for details on how to install modules in your own directory - the key is using the PREFIX= option to Makefile.PL.

    Creating a separate directory for version.pm makes it easy to uninstall it or to replace it with another version.