13

I want to use Perl for web development. I have tried to find out how to install it but when I tried to get ActivePerl it wouldn't install on Windows 8. Can anyone tell me how to install Perl on Windows 8? I can go for ActivePerl, Strawberry Perl, or any other Perl release as long as it will work on Windows 8.

1
  • I suggest Strawberry Perl. Just check to see what version you need, 32 or 64 bit.
    – squiguy
    Commented Jan 6, 2013 at 18:55

2 Answers 2

11

As you already know, there are two generally used Perls in the Windows World:

  • ActivePerl from ActiveState.
  • Strawberry Perl which is an open source project started by Adam Kennedy -- a big honcho in the Perl community.

What's the big difference between them:

ActiveState Perl was designed to be a Perl solution specifically for Windows (and later both Macs and Linux). ActiveState offers a very nice Perl IDE called Komodo and has excellent Perl support. All you need is some cash. After all, that's how ActiveState makes its money. Of course, you can use EPIC instead of Komodo and get a lot of help from StackOverflow too.

ActiveState comes with the default Win32 modules already installed and also supplies a Perl Package Manager (PPM) instead of using CPAN for installing other CPAN modules. PPM has a nice GUI interface, and its modules have already been precompiled and tested. It also is a bit better than CPAN with dependency tracking. Of course, there might be some CPAN modules not in PPM, and that can be an issue.

Strawberry Perl was started to be more Open Source oriented than ActiveState. By default, Strawberry Perl comes with a Make program and a complete development environment, so that almost all CPAN modules are available and can be installed. This is because Strawberry Perl comes with the complete MinGW package which includes Make and a gcc compiler. The idea was to give Perl people who mainly use Linux and Unix machines a similar feeling solution for Windows.

In reality, both are pretty similar. ActiveState comes with the Win32 modules, but you can install them as needed on Strawberry Perl via CPAN. Strawberry Perl works with CPAN, but ActiveState gives you complete directions for installing the same MinGW environment that Strawberry Perl uses (via their PPM) which allows you to install all CPAN modules that Strawberry Perl can install. ActiveState comes with a GUI Perl Documentation that includes all installed Perl modules, but the perldoc command gives you the same information anyway.

So, if you're more Linux/Unix oriented and want something that feels very similar on Windows, go with Strawberry Perl. If you are using Perl as a Win32 solution, go with ActiveState. And, don't worry about choosing the wrong one. In the end, Strawberry Perl can include all those nice Win32 modules, and ActivePerl can use CPAN.

2
  • so in otherwords I can compile perl with strawberry Commented Jan 7, 2013 at 22:21
  • @James_Parsons There are CPAN modules that include C code which you can compile with Strawberry Perl. It maybe possible using the MinGW environment to actually compile Perl itself, but I never tried it. I'd rather let someone else handle that headache and just download Strawberry Perl.
    – David W.
    Commented Jan 8, 2013 at 1:37
3

There is another SO posting that you might find what you're looking for here. A similar posting. In sum, I get the impression that Strawberry Perl would work alright, and so would ActivePerl. I rather liked Strawberry Perl, and it was so long ago that I installed it on my wife's Windows Vista machine that I can't remember why I chose it over ActivePerl, ymmv. CHEERS!

1
  • 2
    I've used ActiveState Perl for years. A couple of years ago, I tried Strawberry Perl and found that it didn't fit as easily for me into my workflow as ActivePerl. I don't remember why but it may have been that the Win32 integration of Strawberry Perl was not as good as ActivePerl. Commented Jan 6, 2013 at 19:44

Not the answer you're looking for? Browse other questions tagged or ask your own question.