Next
Contents 
Beginner's Tutorial for CGI using Perl Language
Beginner's Tutorial for CGI Perl Language

Beginner's Tutorial for CGI Perl Language

Perl or Practical Extraction and Report Language is described by Larry Wall, Perl's author, as follows:

Perl is an interpreted language optimized for scanning arbitrary text files, extracting information from those text files, and printing reports based on that information. It's also a good language for any system management tasks. The language is intended to be practical (easy to use, efficient, complete) rather than beautiful (tiny, elegant, minimal).

Using perl

The uses of perl is one of the features that set it apart from other languages.

If all fails you can still change perl a bit and give it to your sweetheart as jewelry. My favorite thing about perl is its extreme ease of use and simplicity. What I could do with a 500 LOC(Lines of Code) C++ program can be done with a 50 LOC Perl program. Its beauty lies in its simplicity.

Requirements

Now before we start about on this epic journey to where many men has boldly and cowardly gone before, I will try to make you ready for your journey to a bigger world. Before starting, make sure you have the following things. If some are missing you still can learn perl - but you will not be able to use it to its full power.

  1. ActivePerl from http://www.activestate.com/ActivePerl/ for windows - For programming in Windows. Linux don't need any special outside interpreter because it already has it in most of the distributions.
  2. A Good text editor with syntax highlighting support for perl and ability to run script on the interpreter. I would recommend Crimson Editor(http://www.crimsoneditor.com/).
  3. A server capable of handling perl scripts - If you wish to make CGI Perl scripts. I use Sambar Server.

In Unix/Linux you can execute your perl scripts by typing "perl <filename>" at command prompt. If you have ActivePerl, you can execute it by double clicking a perl file in Windows.

Author - Binny V A
Personal Site Binny V A

Next
Contents 

Comments

pamela ocol at 14 Jan, 2007 09:16
nice
Reply to this.
Madhukar Anand at 01 Jul, 2007 11:17
i found this site easy to get started
Reply to this.
Ragani at 13 Aug, 2007 05:51
hi
can you please help me .
my require met is like this.

i need to copy only the latest file that are modifed.and i want to store these modifed file in to an one location.
i have writen a script like this.
Reply to this.
Anonymous at 01 Feb, 2008 02:44
i want learn perl, so please send perl tutorial.
Reply to this.
Comment


Comment




Comment Formating : HTML tags a, strong, em, b, i, code, pre, p and br allowed. Other tags will be shown as code(< will become &lt;). Urls, Line breaks will be auto-formated.
Subscribe to Feed