D
David Williams
Hello all,
I am getting the following error and need help. As a disclaimer,
I am heavily versed in php but not perl so if this is a simple error,
please forgive me:
Can't locate object method "new" via package "Net::Telnet" (perhaps you forgot to load "Net::Telnet"?) at ./check.pl line 5.
_
#!/usr/bin/perl
use strict;
use warnings;
use lib "/netmod/lib/site_perl/Net/";
my $t= new Net::Telnet('Telnet.pm') or die();
From the package, the syntax/spelling is correct:
package Net::Telnet
I installed the package in a non standard location because I do not
have root on the box. Telnet.pm is under
/netmod/lib/site_perl/Net/
but perl is acting like it cannot find it.
Anybody have any ideas?
thx,
David
--
I am getting the following error and need help. As a disclaimer,
I am heavily versed in php but not perl so if this is a simple error,
please forgive me:
Can't locate object method "new" via package "Net::Telnet" (perhaps you forgot to load "Net::Telnet"?) at ./check.pl line 5.
_
#!/usr/bin/perl
use strict;
use warnings;
use lib "/netmod/lib/site_perl/Net/";
my $t= new Net::Telnet('Telnet.pm') or die();
From the package, the syntax/spelling is correct:
package Net::Telnet
I installed the package in a non standard location because I do not
have root on the box. Telnet.pm is under
/netmod/lib/site_perl/Net/
but perl is acting like it cannot find it.
Anybody have any ideas?
thx,
David
--