Which version of Perl should I use on Windows? [cl

2019-01-12 22:54发布

The win32.perl.org web site provides references to several Perl distributions for MS Windows.

For a long time I have been using ActivePerl from ActiveState but recently I switched to Strawberry Perl.

IMHO The only advantage that Active Perl still has over Strawberry Perl is the fact that it comes with Perl Tk which means its easy to install Devel::ptkdb the graphical debugger. Other than that, I think Strawberry Perl has all the advantages.

11条回答
\"骚年 ilove
2楼-- · 2019-01-12 23:34

I had major problems with Strawberry, and I felt there was no support. The good people at PerlMonks couldn't help me, and I gave up. If this page leaves you with a certain lack of confidence, there's your answer.

查看更多
ら.Afraid
3楼-- · 2019-01-12 23:36

I am using Active State Perl 5.014, which works OK.

The problem is, it doesn't have the latest version of Padre (the IDE, debbugging environment).

查看更多
你好瞎i
4楼-- · 2019-01-12 23:39

There is no single-best Perl distribution. Vanilla Perl (relocatable, redistributable Perl), and it's more-developer-friendly Strawberry Perl have significant potential.

However, there is a very good reason why ActivePerl is so very popular. The advantages mostly come in the form of ease of deployment for your end users (no compiler necessary to use their package manager, PPM). The ActiveState PDK (Perl Development Kit) is also a very nice way to pack a complete Windows binary that doesn't require any Perl to be installed on the user's machine.

Unfortunately, many very nice CPAN modules (like the Perl bindings for OpenSSL) are not available via ActiveState's repository.

Like most things, you should make your selection based on which distribution best meets your needs.

查看更多
趁早两清
5楼-- · 2019-01-12 23:39

The code I write lands in Fortune 500 companies so a "corporate" feeling is helpful. I've used ActivePerl so far, and it's worked fine for both internal tooling and for distribution to those large'ish customers.

查看更多
女痞
6楼-- · 2019-01-12 23:43

I by far prefer Strawberry Perl. For one, it installs gcc as part of mingwin, so that you can install directly from CPAN.

I used ActiveState's perl for awhile, but I had a lot of flakiness from one machine to another despite them being (seemingly) identically configured. Their PPM module packaging left a bad taste, also. It makes it dead-simple to manage packages, but you rely on them to update PPM after CPAN updates. Also, PPM is not by any means the full content of the CPAN; The last time I'd used ActivePerl, I had a hard time finding all of the modules I needed, and the ones that were there were often an old version.

查看更多
叼着烟拽天下
7楼-- · 2019-01-12 23:46

The future is definitely Strawberry Perl. Whichever you chose though (and this problem is not unique to Windows), if you're distributing the end result to other machines, you're going to have to be careful as regards the installer/installation instructions you provide.

查看更多
登录 后发表回答