Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
I've had many of the same problems you describe. I haven't solved them all, but here are some things that have definitely helped:

Setting up CPAN

The first time you try to download cpan modules using perl ("perl -MCPAN ...") it will lead you through a setup, asking lots of questions about where different resources are located on your computer. If you answer these questions incorrectly, your CPAN client won't work. But, when you start it again it doesn't prompt you to change settings. To fix this, you can go to the directory "x:\(perl-path)\lib\CPAN" and delete the file "config.pm". Then the next time you use the CPAN client it will ask all the setup questions again.

The CPAN client wants a whole bunch of tools that you may have to download. The problems I've run into here are that some "unzip" and "tar" programs are not 100% compatible with CPAN. Be sure that the programs you're using know how to deal with Windows NT long file names. Most perl modules contain files with names that are illegal under the old DOS eight-char-name-three-char-extension standard.

One solution that worked well for me was downloading CYGWIN, a Win32 unix emulator with Win32 versions of lots of the normal unix tools like gzip and tar that the CPAN client needs. To get the tools to work under a Windows NT command prompt, you have to copy cygwin.dll to the system32 directory.

Tally

In reply to Re: Installing modules on Win32 by Tally
in thread Installing modules on Win32 by SuperCruncher

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others exploiting the Monastery: (6)
    As of 2014-08-21 23:55 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The best computer themed movie is:











      Results (144 votes), past polls