Hi, On Mon, 4 Jun 2018 10:28:09 +0100 Gary Stainburn <gary.stainb...@ringways.co.uk> wrote:
> On Monday 04 June 2018 09:36:02 Shlomi Fish wrote: > > what does "perldoc -l MIME::Parser" say? Also see > > http://perl-begin.org/FAQs/ and http://perl-begin.org/topics/cpan/ . > > I have tried this for all three modules installed through CPAN and all three > come up with the same thing: > > [root@ollie2 ~]# perldoc -l MIME::Parser > No documentation found for "MIME::Parser". > [root@ollie2 ~]# perldoc -l Net::SCP > No documentation found for "Net::SCP". > [root@ollie2 ~]# perldoc -l Net::SSH > No documentation found for "Net::SSH". > [root@ollie2 ~]# > > If I try to find the perl modules it it looks like they haven't been > installed, but if that is the case, why does 'perl -c' come up OK? > is there anything in https://en.wikipedia.org/wiki/Environment_variable ? Perhaps you have https://metacpan.org/pod/local::lib enabled or similar. > [root@ollie2 ~]# find / -iname Parser.pm > /root/.cpan/build/MIME-tools-5.509-umkw_d/lib/MIME/Parser.pm > /root/.cpan/build/MIME-tools-5.509-umkw_d/blib/lib/MIME/Parser.pm > /root/ollie/root/.cpan/build/MIME-tools-5.427-bhvQQE/blib/lib/MIME/Parser.pm > /root/ollie/root/.cpan/build/MIME-tools-5.427-bhvQQE/lib/MIME/Parser.pm > /root/perl5/lib/perl5/MIME/Parser.pm Looks like it isn't installed system-wide - only under the "/root" home dir. > /usr/lib64/perl5/vendor_perl/XML/Parser.pm > /usr/lib64/perl5/vendor_perl/HTML/Parser.pm > /usr/share/perl5/vendor_perl/TAP/Parser.pm > /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm > /usr/share/perl5/vendor_perl/Convert/ASN1/parser.pm > [root@ollie2 ~]# find / -iname SCP.pm > /root/.cpan/build/Net-SCP-0.08-q8mDLD/SCP.pm > /root/.cpan/build/Net-SCP-0.08-q8mDLD/blib/lib/Net/SCP.pm > /root/perl5/lib/perl5/Net/SCP.pm > [root@ollie2 ~]# > -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Understand what Open Source is - http://shlom.in/oss-fs I’m not an actor — I just play one on T.V. — http://www.shlomifish.org/humour.html Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/