Perl is very easy to learn, especially if you have a background in computer programming. Perl was designed to be easy for humans to write and understand rather than making it easy for processing by computers. It uses regular expressions. Its natural style of language is different from other programming languages that use specific grammar and syntaxes; therefore, Perl is very flexible and doesn’t impose on you any particular way of thinking out a solution or a problem.
2. What is a PERL?
Introduction to PERL
What is PERL?
Where is Perl Used?
Why use Perl?
Introduction to Variables
in PERL
Arrays in PERL
What about dynamic
arrays?
Push, pop, shift, unshift for
arrays:
Summary
Perl stands in for “Practical Extraction and
Reporting Language” even though there is no official
acronym for Perl. You may create your own acronym
and no one will mind. Perl was created by Larry Wall
in 1987 when he was working on a bug reporting
system and “AWK”- a programming language he was
using for the purpose was not helping him much. He is
still the chief architect and developer of Perl.
.
3. Where is Perl used?
Introduction to PERL
Where is Perl Used?
Why use Perl?
Introduction to Variables
in PERL
Arrays in PERL
What about dynamic
arrays?
Push, pop, shift, unshift for
arrays:
Summary
4. Why use Perl?
Introduction to PERL
Where is Perl Used?
Why use Perl?
Introduction to Variables
in PERL
Arrays in PERL
What about dynamic
arrays?
Push, pop, shift, unshift for
arrays:
Summary
Perl is very easy to learn, especially if you
have a background in computer
programming. Perl was designed to be
easy for humans to write and understand
rather than making it easy for processing
by computers. It uses regular expressions.
Its natural style of language is different
from other programming languages that
use specific grammar and syntaxes;
therefore, Perl is very flexible and doesn’t
impose on you any particular way of
thinking out a solution or a problem.
5. Introduction to Variables in PERL
Introduction to PERL
There are 3 types of variables:
Where is Perl Used?
Why use Perl?
Introduction to Variables
in PERL
Arrays in PERL
What about dynamic
arrays?
Push, pop, shift, unshift for
arrays:
Summary
.
6. Arrays in PERL
Introduction to PERL
Where is Perl Used?
Why use Perl?
Introduction to Variables
in PERL
Arrays in PERL
What about dynamic
arrays?
Push, pop, shift, unshift for
arrays:
Summary
An Array is a special type of variable which
stores data in the form of a list; each
element can be accessed using the index
number which will be unique for each and
every element. You can store numbers,
strings, floating values etc. in your array.
This looks great, So how do we create an
array in Perl? In Perl, you can define an
array using ‘@’ character followed by the
name that you want to give. Let’s consider
defining an array in Perl.
7. Dynamic Arrays
Introduction to PERL
Where is Perl Used?
Why use Perl?
Introduction to Variables
in PERL
Arrays in PERL
What about dynamic
arrays?
Push, pop, shift, unshift for
arrays:
Summary
Dynamic arrays are those that you declare
without specifying any value on them. So
when exactly do we store values in that
array? Simple, we store them during run
time. Here is a simple program for that.
8. Push, pop, shift, unshift for arrays:
Introduction to PERL
Where is Perl Used?
Why use Perl?
Introduction to Variables
in PERL
Arrays in PERL
What about dynamic
arrays?
Push, pop, shift, unshift for
arrays:
Summary
Push : Adds array element at the end of an
existing array.
Pop : Removes the last element from an array.
Shift: Removes the first element from an array.
Unshift : Adds an element at the beginning of
an array.
9. Learn More About PERL visit
http://web.guru99.com/perltutorials/
Get Started!