SlideShare ist ein Scribd-Unternehmen logo
1 von 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!

Weitere ähnliche Inhalte

Mehr von 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 ?
 

Kürzlich hochgeladen

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Kürzlich hochgeladen (20)

Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
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
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 

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!