If the OP is using Strawberry Perl, it already comes with the cpanm tool from App::cpanminus.

For the more recent versions of ActiveState's ActivePerl, you can use PPM to install MinGW and dmake from ActiveState's repository, which will let you install modules directly from CPAN. I can't say definitely when they started providing those two in their repository and there's also the catch that their repositories for older builds are now only available to those who have purchased support from them.

The above is true for their 32-bit ActivePerl. I'm not sure if the same holds for the 64-bit ActivePerl. I want to say that there were some more steps needed and/or you need some stuff from Visual Studio to get 64-bit ActivePerl to have the compiler and tools needed to install directly modules from CPAN.

I haven't used ActiveState's ActivePerl for at least a few years (been using Strawberry Perl instead), but thought I'd share what details I could remember in case it might help others.


In reply to Re^2: Installing modules on Windows 7 when FTP is blocked. by dasgar
in thread Installing modules on Windows 7 when FTP is blocked. by ScottDeyo47

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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.