SlideShare uma empresa Scribd logo
1 de 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

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.
.
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 doesn’t
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. Let’s 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

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.
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.
Learn More About PERL visit
http://web.guru99.com/perltutorials/

Get Started!

Mais conteúdo relacionado

Mais de Guru99

BigData Hadoop Tutorial
BigData Hadoop TutorialBigData Hadoop Tutorial
BigData Hadoop TutorialGuru99
 
SQLite Tutorial
SQLite TutorialSQLite Tutorial
SQLite TutorialGuru99
 
Hbase Tutorial
Hbase TutorialHbase Tutorial
Hbase TutorialGuru99
 
Introduction to Jmeter
Introduction to JmeterIntroduction to Jmeter
Introduction to JmeterGuru99
 
Setting up and installing perl
Setting up and installing perlSetting up and installing perl
Setting up and installing perlGuru99
 
Lrt top 10
Lrt top 10Lrt top 10
Lrt top 10Guru99
 
What is Loadrunner ?
What is Loadrunner ?What is Loadrunner ?
What is Loadrunner ?Guru99
 

Mais de Guru99 (8)

BigData Hadoop Tutorial
BigData Hadoop TutorialBigData Hadoop Tutorial
BigData Hadoop Tutorial
 
SQLite Tutorial
SQLite TutorialSQLite Tutorial
SQLite Tutorial
 
Hbase Tutorial
Hbase TutorialHbase Tutorial
Hbase Tutorial
 
Introduction to Jmeter
Introduction to JmeterIntroduction to Jmeter
Introduction to Jmeter
 
Setting up and installing perl
Setting up and installing perlSetting up and installing perl
Setting up and installing perl
 
Lrt top 10
Lrt top 10Lrt top 10
Lrt top 10
 
Php
PhpPhp
Php
 
What is Loadrunner ?
What is Loadrunner ?What is Loadrunner ?
What is Loadrunner ?
 

Último

latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answersdalebeck957
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactisticshameyhk98
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationNeilDeclaro1
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 

Último (20)

latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 

Perl

  • 1. Learn About PERL with WebGuru99 Get Started!
  • 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!