[olug] perl cgi browser based telnet

Sean Kelly smkelly at zombie.org
Fri Jan 23 20:19:31 UTC 2004


On Fri, Jan 23, 2004 at 02:03:36PM -0600, Ryan O'Rourke wrote:
> Can't locate Net/Telnet.pm in @INC [error log snipped here for brevity]
> BEGIN failed--compilation aborted at /usr/local/apache/cgi-bin/telnet.pl
> line 3.
> [Fri Jan 23 13:27:43 2004] [error] [client 10.1.10.15] Premature end of
> script headers: /usr/local/apache/cgi-bin/telnet.pl
,,,
> use Net::Telnet;
...

You are missing the 'Net::Telnet' Perl module.

 * If using FreeBSD:
   # cd /usr/ports/net/p5-Net-Telnet && make install

 * Using the Perl CPAN shell:
   # perl -MCPAN -e "install Net::Telnet"

 * Getting from CPAN manually:
   * Download http://cpan.perl.org/modules/by-module/Net/Net-Telnet-3.03.tar.gz
   # tar xvf Net-Telnet-3.03.tar.gz
   # cd Net-Telnet-3.03
   # perl Makefile.PL
   # make
   # make test
   # make install

-- 
Sean Kelly         | PGP KeyID: D2E5E296
smkelly at zombie.org | http://www.zombie.org


More information about the OLUG mailing list