Vous êtes sur la page 1sur 9

Learn About PERL with WebGuru99

Get Started!

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

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.

What about dynamic arrays? Push, pop, shift, unshift for arrays: Summary

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

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 doesnt impose on you any particular way of thinking out a solution or a problem.

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

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. Lets consider defining an array in Perl.

Dynamic Arrays
Introduction to PERL

Where is Perl Used?

Why use Perl? Introduction to Variables in PERL


Arrays in PERL

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.

What about dynamic arrays? Push, pop, shift, unshift for arrays: Summary

Push, pop, shift, unshift for arrays:


Introduction to PERL

Where is Perl Used?

Why use Perl? Introduction to Variables in PERL


Arrays in PERL

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.

What about dynamic arrays? Push, pop, shift, unshift for arrays: Summary

Learn More About PERL visit http://web.guru99.com/perltutorials/

Get Started!

Vous aimerez peut-être aussi