http://www.perlmonks.org?node_id=231829


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

If you use the perl downloaded from http://www.activestate.com/, try the shell-program ppm to try to install precompiled packages, e.g.
I:\>ppm PPM interactive shell (2.1.6) - type 'help' for available commands. PPM> help Commands: exit - leave the program. help [command] - prints this screen, or help on 'command'. install PACKAGES - installs specified PACKAGES. quit - leave the program. query [options] - query information about installed packages. remove PACKAGES - removes the specified PACKAGES from the system search [options] - search information about available packages. set [options] - set/display current options. verify [options] - verifies current install is up to date. version - displays PPM version number PPM> search Net::Telnet Packages available from http://ppm.ActiveState.com/cgibin/PPM/ppmserve +r.pl?urn:/ PPMServer: Net-Telnet [3.03] Interact with TELNET port or other TCP por +ts Net-Telnet-Cisco [1.10] automate Cisco management Net-Telnet-Netscreen [1.01] interact with a Netscreen firewall
and if Net::Telnet is found (as above), download and install it by
PPM> install Net-Telnet
see also: http://perlmonks.thepen.com/147012.html

if not, then go and try http://www.cpan.org/, e.g by typing into shell

perl -MCPAN -e shell
and answer all the questions (if you don't know just press enter, only entering a http_proxy and ftp_proxy is important if you use any). Then enter help to get some help

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"

Replies are listed 'Best First'.
Re^2: Can't locate Net/Telnet.pm in @INC
by mhinkle (Initiate) on Oct 03, 2012 at 22:51 UTC
    How can i test the installation? I can't use the script that failed earlier when I received the error message telling me that I didn't have the net-telnet...

      If you can't use the other script (why not?), then write a new one and run it.

      Running 'perldoc Net::Telnet' will tell you if it's installed. Then you can also read the documentation to help you write your new script.