cbtshare has asked for the wisdom of the Perl Monks concerning the following question:
I recently installed installed perl (v5.23.3) , now my old scripts wont work because it complains about modules, but those modules were installed and if I try reinstalling it says
cpan -i Net::OpenSSH CPAN: Storable loaded ok (v2.51) Reading '/root/.cpan/Metadata' Database was generated on Tue, 09 Feb 2016 14:53:50 GMT CPAN: Module::CoreList loaded ok (v5.20160120) Net::OpenSSH is up to date (0.70). #>perl install_web.pl Can't locate Net/OpenSSH.pm in @INC (you may need to install the Net:: +OpenSSH module) (@INC contains: /usr/local/perl-5.23.3/lib/site_perl/ +5.23.3/x86_64-linux /usr/local/perl-5.23.3/lib/site_perl/5.23.3 /usr/ +local/perl-5.23.3/lib/5.23.3/x86_64-linux /usr/local/perl-5.23.3/lib/ +5.23.3 .) at install_web.pl line 5. BEGIN failed--compilation aborted at install_web.pl line 5.
How do I install the modules in the new location or have the metadata read in the new location? thank you
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cant find modules after upgrade
by 1nickt (Canon) on Feb 09, 2016 at 17:14 UTC | |
|
Re: Cant find modules after upgrade
by jhourcle (Prior) on Feb 09, 2016 at 18:34 UTC | |
by cbtshare (Monk) on Feb 10, 2016 at 19:00 UTC | |
|
Re: Cant find modules after upgrade
by neilwatson (Priest) on Feb 09, 2016 at 16:37 UTC |