in reply to Re: cpan try to install a module for a higher perl revision
in thread cpan try to install a module for a higher perl revision

cpan seems to have a problem in searching the right module, because it often try to upgrade modules that is not suitable for perl 5.6.

There are non way to configure cpan in order to limit it's search only to module revision suitable to my perl revision ?

  • Comment on Re^2: cpan try to install a module for a higher perl revision

Replies are listed 'Best First'.
Re^3: cpan try to install a module for a higher perl revision
by trwww (Priest) on Dec 16, 2009 at 21:13 UTC

    There are non way to configure cpan in order to limit it's search only to module revision suitable to my perl revision ?

    No, unfortunately there is not. I'm sure patches are welcome :0)

    The first thing I would try would be to download the package, modify the part of the dist that forces this requirement, and see if the tests still pass. If they do, I'd say you are safe to use it.

    Next would be as others have suggested, to find a version of the dist that does install successfully with your version of perl.

    If you can't get a version of the module working with your perl and you really need this module, you'll have to build a newer perl. See Re: 2nd Perl installation on Mac OSX

    But matter what, you're going to have to learn how the module system works if you need this module. You're using a really old operating system, so you're not going to get much support. But rest assured there are still relatively simple ways to get it to do what you need.