这个问题已经在这里有一个答案:
我应该在Windows上使用哪个版本的Perl? [关闭] 11个答案我对Perl完全陌生,但我想尝试一下。 我看到有关Windows平台的两个对手发行版(我猜其他操作系统只有 Perl)。
维基百科说草莓带有额外的开发工具来编译CPAN模块,如果需要的话。 对我来说听起来不错
它还表示,ActivePerl有很多预先封装的模块,更容易使用PPM进行安装。 听起来也很棒!
这两者之间有明确的权衡。 我想知道我应该选择什么来开始? 如果我选择一个迁移到另一个难度是多少?
编辑:我给这两个发行版一个运行了几个星期。 我其实很喜欢这两个都是个好东西! 其中一个不能出错。 我终于去了ActivePerl,因为它附带了离线文档(在HTML中) - 一个伟大的救生员,为那些在路上或只是不总是连接。 当我不在线时,我在度假时,我很容易开始使用Perl语言。
如果不是更大的话,草莓至少也是如此。 所以我也可以完全推荐它。 我必须说一个人应该学习Perl - 这是一个非常漂亮的语言。 试一试!
This question already has an answer here:
Which version of Perl should I use on Windows? [closed] 11 answersI'm totally new to Perl but I'd like to try it out. I read about two rival distributions available for Windows platform (I guess there's just Perl on other OSes :).
Wikipedia says that Strawberry comes with additional dev tools to compile CPAN modules if necessary. Sounds pretty good to me.
It also says that ActivePerl has a lot of prepackaged modules which are easier to install with PPM. Sounds great too!
There's a clear trade-off between those two. And I wonder what should I pick to get started? If I pick one how hard is it to migrate to the other?
Edit: I gave both distributions a run for a couple of weeks. I actually liked both which is a good thing! One can't go wrong with either of these. I ended up going with ActivePerl simply because it comes with offline documentation(in HTML) - a great life-savior for those who are on the road or just not always connected. It was super-easy for me to get started with Perl language while I was on vacation when I wasn't always online.
Strawberry is at least as great if not greater. So I can totally recommend it, too. And I have to say one should just learn Perl - it's a very beautiful language. Give it a try!
最满意答案
使用两年后,我会说,至少对我来说,Activeperl是一个更方便的选择。 Activeperl中包含的ppm-Installer允许您添加替代的ppm存储库 ,这将使您可以访问CPAN上可用的几乎所有有用的Perl模块,但可以准备并测试Windows。 这对我来说,从长远来看,是一个更好(更强大)的选择。 即使对于Apache http服务器的Windows版本,还有一个预编译的mod_perl(2.0.4)ppm可用(对我来说)与Activeperl 5. 12 .1和Apache 2.2.15一起使用 。
我试图在Windows 7上安装DBI + DBD :: mysql后,我放弃了Strawberry(这是Activeperl中没有任何意思,只需点击ppms并选择安装)。
但也许现在已经解决了。 也许可以选择草莓安装目录(我不能)。
BTW:为了编译你自己的Inline或XS的东西,只需用ppm安装MinGW编译器 (我没有这样做,但看起来很有趣)。
问候
RBO
附录 :阅读下面的评论后,我再次检查了Strawberry Perl,现在可以更改安装目录,这是5.12.0版本的一个表示功能(实际版本)。 这将解决草莓Perl(与Activeperl相比)的一个重要(imho)缺点。
After having used both for years, I'd say, for me at least, Activeperl is a much more convenient choice. The ppm-Installer included in Activeperl allows you to add alternative ppm repositories which will give you access to almost all useful perl modules available on CPAN - but prepared and tested for windows. This was for me, in the long run, a much better (and more robust) choice. Even for the windows version of the Apache http server, there is a precompiled mod_perl (2.0.4) ppm available which will (did for me) work out of the box with Activeperl 5.12.1 and Apache 2.2.15.
I think I dropped Strawberry after trying to install DBI + DBD::mysql on Windows 7 (which is a no brainer in Activeperl, just click on the ppms and choose install).
But maybe that's solved by now. And maybe one can choose the directory where Strawberry gets installed (I couldn't).
BTW: for compiling your own Inline or XS stuff, just install the MinGW compiler by ppm (I didn't do that but it looks interesting).
Regards
rbo
Addendum: after reading the comment below, I checked Strawberry Perl again and it's now possible to change installation directory, which is a denoted feature of the 5.12.0 release (which is the actual version). This would solve one important (imho) disadvantage of Strawberry Perl (compared to Activeperl).
我应该选择ActivePerl还是草莓Perl for Windows?(Should I choose ActivePerl or Strawberry Perl for Windows? [duplicate])这个问题已经在这里有一个答案:
我应该在Windows上使用哪个版本的Perl? [关闭] 11个答案我对Perl完全陌生,但我想尝试一下。 我看到有关Windows平台的两个对手发行版(我猜其他操作系统只有 Perl)。
维基百科说草莓带有额外的开发工具来编译CPAN模块,如果需要的话。 对我来说听起来不错
它还表示,ActivePerl有很多预先封装的模块,更容易使用PPM进行安装。 听起来也很棒!
这两者之间有明确的权衡。 我想知道我应该选择什么来开始? 如果我选择一个迁移到另一个难度是多少?
编辑:我给这两个发行版一个运行了几个星期。 我其实很喜欢这两个都是个好东西! 其中一个不能出错。 我终于去了ActivePerl,因为它附带了离线文档(在HTML中) - 一个伟大的救生员,为那些在路上或只是不总是连接。 当我不在线时,我在度假时,我很容易开始使用Perl语言。
如果不是更大的话,草莓至少也是如此。 所以我也可以完全推荐它。 我必须说一个人应该学习Perl - 这是一个非常漂亮的语言。 试一试!
This question already has an answer here:
Which version of Perl should I use on Windows? [closed] 11 answersI'm totally new to Perl but I'd like to try it out. I read about two rival distributions available for Windows platform (I guess there's just Perl on other OSes :).
Wikipedia says that Strawberry comes with additional dev tools to compile CPAN modules if necessary. Sounds pretty good to me.
It also says that ActivePerl has a lot of prepackaged modules which are easier to install with PPM. Sounds great too!
There's a clear trade-off between those two. And I wonder what should I pick to get started? If I pick one how hard is it to migrate to the other?
Edit: I gave both distributions a run for a couple of weeks. I actually liked both which is a good thing! One can't go wrong with either of these. I ended up going with ActivePerl simply because it comes with offline documentation(in HTML) - a great life-savior for those who are on the road or just not always connected. It was super-easy for me to get started with Perl language while I was on vacation when I wasn't always online.
Strawberry is at least as great if not greater. So I can totally recommend it, too. And I have to say one should just learn Perl - it's a very beautiful language. Give it a try!
最满意答案
使用两年后,我会说,至少对我来说,Activeperl是一个更方便的选择。 Activeperl中包含的ppm-Installer允许您添加替代的ppm存储库 ,这将使您可以访问CPAN上可用的几乎所有有用的Perl模块,但可以准备并测试Windows。 这对我来说,从长远来看,是一个更好(更强大)的选择。 即使对于Apache http服务器的Windows版本,还有一个预编译的mod_perl(2.0.4)ppm可用(对我来说)与Activeperl 5. 12 .1和Apache 2.2.15一起使用 。
我试图在Windows 7上安装DBI + DBD :: mysql后,我放弃了Strawberry(这是Activeperl中没有任何意思,只需点击ppms并选择安装)。
但也许现在已经解决了。 也许可以选择草莓安装目录(我不能)。
BTW:为了编译你自己的Inline或XS的东西,只需用ppm安装MinGW编译器 (我没有这样做,但看起来很有趣)。
问候
RBO
附录 :阅读下面的评论后,我再次检查了Strawberry Perl,现在可以更改安装目录,这是5.12.0版本的一个表示功能(实际版本)。 这将解决草莓Perl(与Activeperl相比)的一个重要(imho)缺点。
After having used both for years, I'd say, for me at least, Activeperl is a much more convenient choice. The ppm-Installer included in Activeperl allows you to add alternative ppm repositories which will give you access to almost all useful perl modules available on CPAN - but prepared and tested for windows. This was for me, in the long run, a much better (and more robust) choice. Even for the windows version of the Apache http server, there is a precompiled mod_perl (2.0.4) ppm available which will (did for me) work out of the box with Activeperl 5.12.1 and Apache 2.2.15.
I think I dropped Strawberry after trying to install DBI + DBD::mysql on Windows 7 (which is a no brainer in Activeperl, just click on the ppms and choose install).
But maybe that's solved by now. And maybe one can choose the directory where Strawberry gets installed (I couldn't).
BTW: for compiling your own Inline or XS stuff, just install the MinGW compiler by ppm (I didn't do that but it looks interesting).
Regards
rbo
Addendum: after reading the comment below, I checked Strawberry Perl again and it's now possible to change installation directory, which is a denoted feature of the 5.12.0 release (which is the actual version). This would solve one important (imho) disadvantage of Strawberry Perl (compared to Activeperl).
发布评论