I've got Perl 5 and GNU/Linux experience, nearly zero experience on MS Windows, and need to get some scripts and tools (ex. cron, scp, tar, gzip, Perl) running on a Windows server. I'm hoping to get some guidance here about what I need to install to make this Windows box act at least somewhat like a standard *nix server.

So, perhaps some direct questions will help:

Should I install cygwin? I've done so on a test laptop (running Windows 7, not Windows Server), and it provides a familiar bash shell (so I've got that going for me, which is nice). Cygwin seems to have the regular unixy tools I require, and even comes with Perl 5.14.

Can I install and use cpanm with the Perl that comes with cygwin? I'd much rather use cpanm than manually build/install packages.

I've heard of two other ways to get Perl for Windows: Strawberry Perl and ActivePerl. Would you recommend one of those instead of the one that comes with cygwin? And if so, will installing it conflict with cygwin? Will I be able to shell out to tar and gzip and friends from that other Perl?

Any other tips for dealing with Perl on Windows gratefully accepted. Thanks!


In reply to Newb guidance for Perl on MS Windows: Cygwin, Strawberry, ActivePerl? by Anonymous Monk

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.