|Perl: the Markov chain saw|
Installing modules in old version of perlby JediWombat (Novice)
|on Jul 11, 2018 at 05:23 UTC||Need Help??|
JediWombat has asked for the wisdom of the Perl Monks concerning the following question:
I'm afraid I don't know a lot about what I'm doing with Perl/CPAN, but essentially, I've got an old Cent5 box that is running perl5.8.8, and I need to install some modules to it, so I can move an existing program to it.
The module I'm trying to install is File::Basename. When I run cpan File::Basename, I get:
Now, if I understand the problem (unlikely), it's that CPAN automatically looks for the newest version of any module, rather than the newest module for my current perl. How can I install a version of this module for my current perl, 5.8.8? Or, am I misunderstanding the issue?
I tried using the suggested `force install` command, which seems to have installed perl5.28.0 alongside my existing stuff.
I've tried searching for solutions to this, but it's hard to know what to search for; I get a lot of results for checking version numbers, etc., but nothing that I can find is about installing old modules into older perl versions.
Can someone straighten me out on this, please, and help me learn how to do this properly?