Strawberry Perl

Wikipedia:Strawberry_Perl
http://strawberryperl.com/
A use-case for Strawberry Perl

 

Haven’t tried this, as I’ve alwaysmostly used AS....

 

UPDATE 2013.07: This hasn’t been true for at least a year, as I’ve been running Strawberry Perl on my laptop, which is now my main personal dev machine.
I haven’t been running a lot of Perl, mind-you, which is probably why this hasn’t been updated...

 

 

Active State Installation

A simple install is available via http://www.activestate.com/Products/activeperl/feature_list.mhtml

 

Click on “get active perl” on the right, and follow the instructions.

 

 

Do-What-I-Mean Perl

http://dwimperl.com/ - Perl distribution that makes it easy to start using Perl. It contains the standard Perl and a lot of extension so you won’t need search for them and install them yourself.

 

NOTE: have not personally tried this.

 

 

Associate files and Command-line

NOTE: ActivePerl should do this step for you as part of the install. If not:

 

  1. add the perl executable directory to the PATH Environment Variable?
  2. associate perl files with the perl executable

 

http://www.perl.com/doc/FAQs/nt/perlwin32faq4.html#How_do_I_associate_Perl_scripts_

 

 

How to Get Started with Perl

Perl is an interpreted language, which means that unlike a compiled language (which is reduced to machine code on compilation) Perl is reduced to machine code during run-time (well...Perl is actually a hybrid interpreted language, since it compiles the entire code immediately before running, rather than line-by-line). To use Perl then you need an interpreter.  Most Linux distros include this freely, but on Windows systems you will need to manually install one. A good free Perl interpreter for Win32 systems is the one by ActiveState

 

Note: ActiveState offers a variety of pay-license Perl software packages, but the ActivePerl interpreter is free for download.

 

Some other options for Perl interpreters are IndigoPerl and VisualPerl (which is actually just an ActivePerl plugin for Microsoft’s Visual Studio IDE). MichaelPaulukonis has some familiarity with IndigoPerl, but reccomends the ActiveState version, unless you also need a webserver.

 

Once you have a Perl interpreter, you can begin writing Perl code in a plain text file and by saving it as a .pl file. For help, check out CPAN?.

 

As an added feature, there are numerous Perl Compilers available which you can purchase (Perl2Exe runs roughly $150) that will allow you to make native apps using Perl. Of even greater interest, you can use the Perl::PAR module to freely generate Perl executables.

 

 

 

Category tags

Perl Programming Install