in reply to Telnet: Can't locate Net/Telnet.pm

Hi PerlMe,

Did you install Net::Telnet properly? Take a look at Installing Modules from the Tutorials section of this site should you need help installing modules.

Update: I suspect this may be a typo but
$username = rami $passwd = rami

Should of look something like:
use strict; use warnings; my $username = 'rami'; my $passwd = 'rami'; etc...
Adding use strict; and use warnings; is a good idea when you are developing/debugging code.

Hope this helps

Martin

Replies are listed 'Best First'.
Re^2: Telnet: Can't locate Net/Telnet.pm
by PerlMe (Novice) on Jul 16, 2007 at 22:20 UTC
    Thanks Martin, I finally got the installation right. I was using unix based OS, 'ubuntu' and 'Fedora'. I use the following commands to install it. #perl -MCPAN -e'shell' Cpan> install Net::Telnet