Have a look at , for ActivePerl documentation. As an alternative to ActivePerl, there is Strawberry Perl. This section describes what is ActivePerl – a free Perl engine for Windows, Perl Tutorials – Herong’s Tutorial Examples – Version , by Dr. Herong Yang. Easily learn how to install Perl and run your first script. If you are on Windows, you may see a choice of ActivePerl and Strawberry Perl.

Author: Tegis Goltimuro
Country: Barbados
Language: English (Spanish)
Genre: Environment
Published (Last): 13 July 2015
Pages: 275
PDF File Size: 12.29 Mb
ePub File Size: 11.1 Mb
ISBN: 206-4-16578-234-2
Downloads: 91643
Price: Free* [*Free Regsitration Required]
Uploader: Vikazahn

PERL was designed to be simple and direct.

We outlined earlier that file manipulation and grep style functions are the bread and butter of PERL. Often times these types of tasks will require some form of user input. PERL can do exactly that imagine that and these next few pages of tutorial will walk you through the process step by step.

PERL is capable of quickly taking input from a user then manipulating it in some fashion and spitting out some sort of result. Whether the task at hand is complex file manipulation or just a simple conversion script, your script may require some sort of user-input. In a minute we will be taking a look at how to retrieve some user input via the command prompt but first, you may need to install a Tuyorial compiler for your machine.


Tkx::Tutorial – How to use Tkx

PERL comes pre-installed on many operating systems, like Linux for example. For those of us running a version of Windows however, we must download and install some sort of program that allows us to access Acticeperl scripts from DOS. There are many PERL compilations available for your machine. A simple Google search yields several million results.

ActivePERL is the simplest of installers available and it is also free to download. Download the program, follow the onscreen installation guide, and you should have an active installation of PERL ready to go.

To test the installation, make sure the program has fully completed installation and then run through the following:. Just to be sure everything is running correctly. Open up notepad or your preferred simple text editor and let’s make a beginning script.

We’ll have our script print to the command prompt with the print function just as we would if we were printing text to our web browser. Copy the two lines above and save them activeper, a directory that you are capable of accessing through DOS.


You should now have some basic concept of how to manage and run PERL scripts from the command prompt of your machine.

Next we will be taking a look at how to manipulate user input via the command prompt. Perl Forum Contact Us.

ActivePerl Documentation

To test the installation, make sure the program has fully completed installation and then run through the following: Click on Start, go to Run. Enter Command or cmd into the display box.

At the command prompt type perl -v.

Testing Script Just to be sure everything is running correctly. Advertise Here More Tutorials! Microsoft Office Tutorials Artist Tutorials.