Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I downloaded Strawberry Perl and also downloaded a standalone Net::Telnet module as FTP is blocked by a firewall.

The Telnet module is a .tar.gz file. How should I install it in Windows XP?

share|improve this question

migrated from Aug 30 '10 at 11:07

This question came from our site for professional and enthusiast programmers. – daxim Aug 30 '10 at 10:06

Short term solution:

Untar it, perl Makefile.PL and make test install.

On Strawberry Perl you should have ptar if you lack tar, and nmake if you lack make.

If perl Makefile.PL returns missing prerequisites, be sure to install those first (same way: download module, untar it, etc).

Long term solution:

  • Use CPAN::Mini in a place with FTP/HTTP access to mirror CPAN to a USB stick or shared directory
  • Instruct CPAN to use the location of the mounted USB stick/shared directory to use as source for CPAN modules (see the CPAN::Mini docs for how to do this)
  • Keep your "minicpan" up to date regularly, and
  • Use cpan/cpanm/cpanplus to install modules
share|improve this answer

The Padre on Strawberry Perl distribution now includes Net::Telnet as well. but the more generic solution is what @mfontani wrote.

share|improve this answer

Try this:

ptar zxf Net-Telnet-3.03.tar.gz
cd Net-Telnet-3.03
perl Makefile.PL
dmake test
dmake install
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .