Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Perl for Windows ?

by xdg (Monsignor)
on Mar 01, 2008 at 14:26 UTC ( [id://671377] : note . print w/replies, xml ) Need Help??


in reply to Re: Perl for Windows ?
in thread Perl for Windows ?

To clarify some differences:

  • ActiveState Perl's default approach to installing modules is via PPM -- binary packages. Strawberry Perl's default approach is direct from CPAN. PPM has some advantages (no need to install external libraries to get some modules working) and disadvantages (some modules on CPAN may not be available in PPM form).

  • Strawberry Perl includes a compiler and dmake. ActiveState Perl does not, though it will pretty much auto-detect and configure itself appropriately if you install either the MinGW compiler or the MS Visual C++ compiler.

Generally, I would say that Strawberry Perl is closer to a unix experience, with all the benefits and disadvantages of that.

Personally, I use Strawberry Perl, do my editing with Vim for Windows, and have installed many of the Windows ports of unix command line tools (e.g. ls, cp, mv, grep) -- though I removed all the gzip, tar, etc. ones as they may not work quite right and some Perl tools may try to use them if they are in the PATH. I find this easier and faster than firing up a virtual machine every time I want to play with Perl.

Update: I want to add that ActiveState Perl, does support installing from CPAN, if configured correctly, though XS modules obviously won't work without a compiler.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.