Running Mandrake 6.

I needed the Net::Telent perl module so I pulled
perl-Net-Telnet-3.01-1.i386.rpm from
http://rufus.w3.org/linux/RPM/index.html. This is a redhat package, so I
expected it to just work.

However that RPM installs the perl package in
/usr/lib/perl5/site_perl/Net/Telnet.pm and perl couldn't find it.

The perl @INC path defaults to

/usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux
/usr/lib/perl5/site_perl/5.005

My workaround was to set PERLLIB to /usr/lib/perl5/site_perl in
/etc/profile.d/perl.sh.


My question to the experts is: what's going on?  Did I do something
wrong, or is perl built wrongly, or was that CPAN package built wrongly?


Thanks,
Andrew.

Reply via email to