|
|
PERL
Tutorial
Introduction To PERL
Perl is an adaptive programming language that combines an extremely
powerful syntax with a versatile range of features. Originally inspired
by UNIX text processing tools like sed,
awk and shell scripting languages, Perl is a synthesis of features that
provides a scripting environment which is more powerful than the
original tools and traditional shell scripts , while also being easier
to learn and faster to develop in.
|
|
FEATURES
PERL has the following features
->simple and intuitive syntax
->cross-platform language
->highly versatile
->powerful suite of text manipulation features
->comprehensive support for web programming and database access
->supports references
->flexible Object Oriented programming concepts
->not commercially oriented
->Open source Project
->Its an Online Community
|
Supported Platforms
->UNIX
->MS Windows
->Other Desktop OSs like apple,PPC
->Mainframes
->PDAs
Running Perl
There are two Phases
1.Compilation Phase
The source code is checked for syntax and compiled to
bytecode
2. Interpretation Phase
The byte code is interpreted to machine instructions
for execution
The variables are prefixed with $ symbol and arrays are prefixed with @
symbol
The Perl script file must be saved with the extension .pl
The Perl programs can be run at /usr/bin/perl using the command
perl <file_name>
|
|
|