http://www.perlmonks.org?node_id=911491

Petras has asked for the wisdom of the Perl Monks concerning the following question:

Hello! What's the best Perl for Win7?

Ready.
poke 53280,0
poke 53281,0
ctrl+2 load "zork",8,1

West of House

Replies are listed 'Best First'.
Re: What's the best Perl for Win7?
by kejohm (Hermit) on Jun 27, 2011 at 03:36 UTC

    The two main distributions of Perl for Windows are Strawberry Perl and Activestate Perl. The main difference between them is that Strawberry Perl comes with the tools required to build and install Perl modules, such as MinGW, whereas Activestate Perl comes with the Perl Package Manager, which is used to install prebuilt versions of Perl modules.

      ActivePerl also comes with mingw, and has for quite some time. (Specifically, cpan will automatically install it if it needs it.)

      Strawberry Perl:

      • Comes with mingw
      • No choice of installation directory
      • Modules can be installed using cpan (compile your own)

      ActivePerl:

      • Comes with mingw
      • Works with MS's compiler
      • Choice of installation directory (which means you can have more than one version installed)
      • Modules can be installed using cpan (compile your own) or ppm (pre-compiled)

        Strawberry 5.12 has the ability to install to an arbitrary directory, and I believe the intention is to maintain this ability in future releases.

        Strawberry Professional / Strawberry with Cream also include additional modules and tools (like Padre, the Perl IDE).

      Note that Strawberry Perl also ships with PPM. ActiveState Perl ships with cpan. Compile/build tools (MinGW etc) can be installed for ActiveState by typing ppm install MinGW at the command prompt.

Re: What's the best Perl for Win7?
by biohisham (Priest) on Jun 27, 2011 at 12:46 UTC
    Strawberry Professional comes with many other modules packaged in addition to the ones mentioned in your replies (for example, the BioPerl suit), Activestate comes with the ability to connect to many repos and has a nice bundle of modules as well.

    Going the other side of the discussion, the Win7 side comes in two versions, the 32 bits and the 64 bits, Perl can work in both but I am not sure how it can scale on a 64 system through the Win WOW64 interface/layer since the language distro is mainly a 32-bit which may limit your full exploitation of the precision capacity offered by 64 bits, I can stand to be enlightened cuz I am using Perl on a 64bit Win7 on occasions.

    Back to Perl, it is a matter of what is more favorite to you depending on what you do, ActiveState Perl is very cool and the PPM makes installing modules much easier since it can connect to various repos that have prepackaged modules for Win systems and that you can alternate between them, no immediate need to build and compile the module, CPAN on the other hand has many modules of course but some of them rely on Unix-based environments and may not work on Windows hence I prefer connecting through PPM to CPAN to shortlist modules. Strawberry has different tastes and toppings too, go through the following links to gain more insight:


    David R. Gergen said "We know that second terms have historically been marred by hubris and by scandal." and I am a two y.o. monk today :D, June,12th, 2011...
Re: What's the best Perl for Win7?
by Anonymous Monk on Jun 27, 2011 at 03:36 UTC
    VMware Player. Use it to install a Linux distro. Use the perl installed there.
Re: What's the best Perl for Win7?
by sundialsvc4 (Abbot) on Jun 29, 2011 at 12:53 UTC

    It seems to me that the two contender distributions are, indeed, those that have been named, and that the two distributors take a slightly different approach ... both valid.   ActiveState is very much a turn-key solution that doesn’t require you to know terribly much about Perl if you don’t happen to know much (yet).   Strawberry seems to be targeted more for the person who is already familiar with Perl, i.e. from a Unix/Linux background.

    Once you get the packages unwrapped and the pretty paper cleaned up off the floor, both are strong.   (Of course they are ... they’re Perl ...)

    I have found that Win32 works just fine as a foundation for Perl, although (until “Power Shell” came along) it (Windows, that is...) had a wretched (read:   non-existent) command-line.   ((I) love (parentheses).)

      Good points. Knowing what I know, I think, then, I'll go with Active Perl. Thanks!

      Beware of lamers and fakers. Read Petras posts only from genuine Petras accounts.