Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Newb guidance for Perl on MS Windows: Cygwin, Strawberry, ActivePerl?

by dasgar (Deacon)
on Oct 16, 2013 at 16:53 UTC ( #1058499=note: print w/ replies, xml ) Need Help??


in reply to Newb guidance for Perl on MS Windows: Cygwin, Strawberry, ActivePerl?

I haven't tried installing multiple versions/distros of Perl on a system, so I can't offer any tips or pointers on that topic.

Although I have to have Cygwin on some systems at work, I haven't installed Cygwin on my personal systems and haven't done much with Cygwin's Perl.

Strawberry Perl is going to be closer to the "Perl on Linux" experience than ActivePerl - at least it will be immediately after install. Both can use cpan, but Strawberry Perl (32-bit) already comes with the compiler and other needed tools for compiling and installing modules from cpan. ActivePerl can't compile modules straight out of the box, but you can use the PPM utility to install the needed items from ActiveState's repository.

Also, Strawberry Perl offers a portable version of their distribution that doesn't "install" anything. Instead, you run a batch file that opens a new command prompt and sets the environment variables of that command prompt to point to the needed folders to use portable Strawberry Perl. This can be put onto a USB thumb stick drive so that you can run Perl from that USB drive on other Windows systems - even if they don't have Perl installed.

Another alternative is DWIM Perl, which is Strawberry Perl 15.4.2.1 RC (32-bit) plus a bunch of other modules installed and includes Padre.

I haven't used it myself, but another popular distribution for Windows is Citrus Perl. The folks behind Citrus Perl also make the Cava Packager utility that can bundle your Perl script into a stand-alone executable.

As for which to use, I think that's a personal choice. I started out using ActivePerl. Lately, I personally have been using Strawberry Perl and DWIM Perl. It might be a good idea to try a few of these out to see which one you're more comfortable with.

The above information is based on my personal experience. Good luck with deciding on which distribution to use.


Comment on Re: Newb guidance for Perl on MS Windows: Cygwin, Strawberry, ActivePerl?
Re^2: Newb guidance for Perl on MS Windows: Cygwin, Strawberry, ActivePerl?
by Anonymous Monk on Oct 16, 2013 at 17:44 UTC
    Although I have to have Cygwin on some systems at work, I haven't installed Cygwin on my personal systems and haven't done much with Cygwin's Perl.

    So, on your personal systems, do you use that terminal program that comes with Windows? No bash? And where do you get the common command-line tools (ls, cp, mv, man, etc.)?

    Sorry to pepper you with questions. I just don't see how it could possibly work to not have a regular shell within which to work (together with the usual GNU tools available).

      You will find that Powershell is a decent terminal on Win7 - and already recognizes some of the more *nix style commands like ls and such

      fwiw, I run ActivePerl on Windows, and use Powershell as my go-to terminal

      where do you get the common command-line tools (ls, cp, mv, man, etc.)?

      If you install msysgit, one of the options is to make its suite of tools available generally (i.e. to put them into your path). There is a broader set of apps common to *nix from GnuWin32 or UnxUtils.

      But I use cmd.exe for a command prompt, when I'm not managing git. There are other shells around, but more systems to deal with than I have time or permission to customize.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1058499]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2014-07-24 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (158 votes), past polls