SlideShare ist ein Scribd-Unternehmen logo
1 von 29
PERL LANGUAGE
INDEX :-
1. Perl introduction
- perl history
- what is perl
- basic syntax
- perl resourses
2. Versions of perl
3. Perl features
4 .Perl advantages
5 .Perl dis – advantages
6 .conclusion
Introduction
History of perl :-
 Who did introduse this perl ?
 When did introduse it ?
 Which perpose introdused it ?
 Who - perl language designed and developed
by “LARRY WALL “
 When - IN 1987
 Purpose - reporting tools in unix
What is perl
 Practical Extraction and Report Language
 A scripting language which is both relatively simple to
learn and yet remarkably powerful.
 Perl is a high level programming language
 It is suitable for a wide varity of applications
 It is an open sourse technology
 A widely using web scripting languge
 Perl is a High-level scripting language
- no compiling is needed
- it runs on unix , windows ,linux
 fast and easy test processing capability
fast and easy file handling capabilityvides
It can be used for large variety of tasks
Perl provides a large number of tools for quite in
complicated situstions
Perl implimented as in interpreted language
Perl satnds for practical extractions and reporting
language
Perl language is easily manipulating test , files and
preocess
It is faster than sh or csh .
And slower then c
It can compiles at run time
 It is available for unix ,windows ,mac os
 Perl has become a very large system of modules
 It is a high level programming language
 And interpreted language
 It is also scripted language
Why is use
 It is easy to gain a basic understanding of the language
and start writing useful programs quickly.
 There are a number of shortcuts which make
programming ‘easier’.
 Perl is popular and widely used, especially for system
administration and WWW programming.
Basic syntax :-
 Statements end with “;”
 Comments starts with “#”
- only single line comments
 U don’t have to declare variable before u access it
Variables of perl
 It has ‘3 ‘ variables mainly
 Scaler variables , denoted by ‘$’ symbol
 List variables , denoted by ‘@ ‘ symbol
 Hash variables , denoted by ‘ %’ symbol
Scalar variables
 They should always be preceded with the $ symbol
 There are no datatypes such as character or numeric
 The scalar variables means that it can store only
one value
 If u treat the variables as character then it can
store a character . If u treat it as a number It can store
one number
 Eg : $name = “chitty”;
List variables
 They are like arrays . It can be considered as a group of
scalar variables
 They always preceded by the @ symbol
Eg @names = “veronica”;
Hash variables
 It has push , pop , shift , unshift operaters
 Push and pop treat the list variables as a stack and
operate on it they act on the higher subscript .
 Shift and unshift act on the lower subscript
Where using in real world
 In test processing
 for web programming
 System administration
 Web automation
Avilable resourses :-
Books :-
 learning perl
- by larry wall
 programming perl
- by larry wall ,
Web site :-
 http:safari.orially.com
 contains both learning perl and programming perl
in ebook form
Perl and web :-
 Perl used to be the most popular web programming
language due to its test manipulation capabilities and rapid
development cycle.
 Perl can handle encrypted Web data, including e-
commerce transactions.
 Perl can be embedded into web servers to speed up
processing by as much as 2000%.
 Perl's mod_perl allows the Apache web server to embed a
Perl interpreter.
 Perl's DBI package makes web-database integration easy.
Versions of perl :-
 Perl 1. 0 version was introdused in 1987
(Larry wall introduced , while he was working as a
programmer at unisys).
 The language expended over the next years.
 Perl 2 (version) was introdused in 1988 ,this featured
better regular expresion.
 Perl 3 was released in 1989.
 Perl 4.036 was released in 1994.
 Perl 5.000 relesed 1994 ,october 17, it was nearly
completely rewrite of the interpreter, and also added
many features to the language including objects ,
lexical variables ,and modules
 Perl 5.003 was released june 25, 1996 as a security
release.
 Finnally the latest version was released in may 30,
2017 (5.26.0)
Features of perl :-
 the best features from other languages, such as C, awk, Perl takes
sed, sh, and BASIC, among others.
 Perls database integration interface DBI supports third-party
databases including Oracle, Sybase, Postgres, MySQL and
others.
 Perl works with HTML, XML, and other mark-up languages.
 Perl supports Unicode.
 Perl supports both procedural and object-oriented
programming.
 Perl interfaces with external C/C++ libraries through XS or
SWIG.
 Perl is extensible. There are over 20,000 third party modules
available from the Comprehensive Perl Archive Network (CPAN).
 The Perl interpreter can be embedded into other systems.
Advanteges of perl :-
 1) Perl runs on all platforms and is far more portable than C.
2) Perl is a huge collection of Perl Modules are free software (either
GNU General Public License or Artistic License).
3) Perl is very much efficient in TEXT and STRING manipulation i.e.
REG_EXP.
4) It is a language that combines the best features from many other
languages and is very easy to learn if you approach it properly.
5) Dynamic memory allocation is very easy in PERL, at any point of
time we can increase or decrease the size of the array.
Disadvantages of perl
1) You cannot easily create a binary image ("exe") from a
Perl file. It's not a serious problem on Unix, but it might be
a problem on Windows.
2) Moreover, if you write a script which uses modules from
CPAN, and want to run it on another computer, you need to
install all the modules on that other computer, which can
be a drag.
3) Perl is an interpretative language, so its comparatively
slower to other
compiling language like C. So, it s not feasible to use in
Real time environment like in flight simulation system.
THANK YOU

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

web programming UNIT VIII python by Bhavsingh Maloth
web programming UNIT VIII python by Bhavsingh Malothweb programming UNIT VIII python by Bhavsingh Maloth
web programming UNIT VIII python by Bhavsingh Maloth
 
Apache Thrift, a brief introduction
Apache Thrift, a brief introductionApache Thrift, a brief introduction
Apache Thrift, a brief introduction
 
1 hour dive into Erlang/OTP
1 hour dive into Erlang/OTP1 hour dive into Erlang/OTP
1 hour dive into Erlang/OTP
 
Perl
PerlPerl
Perl
 
RESTLess Design with Apache Thrift: Experiences from Apache Airavata
RESTLess Design with Apache Thrift: Experiences from Apache AiravataRESTLess Design with Apache Thrift: Experiences from Apache Airavata
RESTLess Design with Apache Thrift: Experiences from Apache Airavata
 
web programming Unit VI PPT by Bhavsingh Maloth
web programming Unit VI PPT  by Bhavsingh Malothweb programming Unit VI PPT  by Bhavsingh Maloth
web programming Unit VI PPT by Bhavsingh Maloth
 
Apache Thrift : One Stop Solution for Cross Language Communication
Apache Thrift : One Stop Solution for Cross Language CommunicationApache Thrift : One Stop Solution for Cross Language Communication
Apache Thrift : One Stop Solution for Cross Language Communication
 
Compilation
CompilationCompilation
Compilation
 
Binary Studio Academy PRO: ANTLR course by Alexander Vasiltsov (lesson 1)
Binary Studio Academy PRO: ANTLR course by Alexander Vasiltsov (lesson 1)Binary Studio Academy PRO: ANTLR course by Alexander Vasiltsov (lesson 1)
Binary Studio Academy PRO: ANTLR course by Alexander Vasiltsov (lesson 1)
 
Socket Programming In Python
Socket Programming In PythonSocket Programming In Python
Socket Programming In Python
 
Belaws beta
Belaws betaBelaws beta
Belaws beta
 
Perl programming tsp
Perl  programming tspPerl  programming tsp
Perl programming tsp
 
Facebook thrift
Facebook thriftFacebook thrift
Facebook thrift
 
Lecture 1 Compiler design , computation
Lecture 1 Compiler design , computation Lecture 1 Compiler design , computation
Lecture 1 Compiler design , computation
 
Programing Language
Programing LanguagePrograming Language
Programing Language
 
Getting Started with Python
Getting Started with PythonGetting Started with Python
Getting Started with Python
 
Unit VI
Unit VI Unit VI
Unit VI
 
List of programming_languages_by_type
List of programming_languages_by_typeList of programming_languages_by_type
List of programming_languages_by_type
 
Programming in hack
Programming in hackProgramming in hack
Programming in hack
 
An Introduction to Hamler
An Introduction to HamlerAn Introduction to Hamler
An Introduction to Hamler
 

Ähnlich wie perl lauange

Ähnlich wie perl lauange (20)

Perl
PerlPerl
Perl
 
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTHWEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
 
Group1_PERL.pptx
Group1_PERL.pptxGroup1_PERL.pptx
Group1_PERL.pptx
 
Perl Reference.ppt
Perl Reference.pptPerl Reference.ppt
Perl Reference.ppt
 
introduction to Perl _ the programming language.pptx
introduction to Perl _ the programming language.pptxintroduction to Perl _ the programming language.pptx
introduction to Perl _ the programming language.pptx
 
Introduction to perl
Introduction to perlIntroduction to perl
Introduction to perl
 
Webinar: Learn Perl - The Jewel of Scripting Languages
Webinar: Learn Perl - The Jewel of Scripting LanguagesWebinar: Learn Perl - The Jewel of Scripting Languages
Webinar: Learn Perl - The Jewel of Scripting Languages
 
December06Bulletin
December06BulletinDecember06Bulletin
December06Bulletin
 
December06Bulletin
December06BulletinDecember06Bulletin
December06Bulletin
 
Bioinformatica p1-perl-introduction
Bioinformatica p1-perl-introductionBioinformatica p1-perl-introduction
Bioinformatica p1-perl-introduction
 
Mastering Regex in Perl
Mastering Regex in PerlMastering Regex in Perl
Mastering Regex in Perl
 
Bioinformatics p1-perl-introduction v2013
Bioinformatics p1-perl-introduction v2013Bioinformatics p1-perl-introduction v2013
Bioinformatics p1-perl-introduction v2013
 
Unit 1
Unit 1Unit 1
Unit 1
 
Learn PERL at ASIT
Learn PERL at ASITLearn PERL at ASIT
Learn PERL at ASIT
 
Deluxe techperl
Deluxe techperlDeluxe techperl
Deluxe techperl
 
Intro
IntroIntro
Intro
 
introductiontoperl-springpeople-150605065831-lva1-app6891.pptx
introductiontoperl-springpeople-150605065831-lva1-app6891.pptxintroductiontoperl-springpeople-150605065831-lva1-app6891.pptx
introductiontoperl-springpeople-150605065831-lva1-app6891.pptx
 
Keeping up with Perl: Development, Upgrade and Deployment Options for Perl 5.12
Keeping up with Perl: Development, Upgrade and Deployment Options for Perl 5.12Keeping up with Perl: Development, Upgrade and Deployment Options for Perl 5.12
Keeping up with Perl: Development, Upgrade and Deployment Options for Perl 5.12
 
Perl Myths 200909
Perl Myths 200909Perl Myths 200909
Perl Myths 200909
 
Ruby on Rails (RoR) as a back-end processor for Apex
Ruby on Rails (RoR) as a back-end processor for Apex Ruby on Rails (RoR) as a back-end processor for Apex
Ruby on Rails (RoR) as a back-end processor for Apex
 

Mehr von Naga Dinesh

Mehr von Naga Dinesh (20)

pi code (picture embedding)
pi code (picture embedding)pi code (picture embedding)
pi code (picture embedding)
 
internet and intra net
internet and intra netinternet and intra net
internet and intra net
 
micro payments using coin
micro payments using coinmicro payments using coin
micro payments using coin
 
Haptic technology
Haptic technologyHaptic technology
Haptic technology
 
Firewall
FirewallFirewall
Firewall
 
eye phone technology
eye phone technologyeye phone technology
eye phone technology
 
Tera data
Tera dataTera data
Tera data
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
pillcam
pillcampillcam
pillcam
 
team viewer
team viewerteam viewer
team viewer
 
Haptic tech
Haptic techHaptic tech
Haptic tech
 
Growth hacking
Growth hackingGrowth hacking
Growth hacking
 
Gifi
GifiGifi
Gifi
 
Anjular js
Anjular jsAnjular js
Anjular js
 
brain chip
 brain chip brain chip
brain chip
 
35.digital jewellery
35.digital jewellery35.digital jewellery
35.digital jewellery
 
mobilejammer
mobilejammermobilejammer
mobilejammer
 
29.skinput technology
29.skinput technology29.skinput technology
29.skinput technology
 
5 g technology
5 g technology5 g technology
5 g technology
 
cloud storage ppt
cloud storage pptcloud storage ppt
cloud storage ppt
 

Kürzlich hochgeladen

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
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
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Kürzlich hochgeladen (20)

Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
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 ...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
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
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.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
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 

perl lauange

  • 2. INDEX :- 1. Perl introduction - perl history - what is perl - basic syntax - perl resourses 2. Versions of perl 3. Perl features 4 .Perl advantages 5 .Perl dis – advantages 6 .conclusion
  • 4. History of perl :-  Who did introduse this perl ?  When did introduse it ?  Which perpose introdused it ?
  • 5.  Who - perl language designed and developed by “LARRY WALL “  When - IN 1987  Purpose - reporting tools in unix
  • 7.  Practical Extraction and Report Language  A scripting language which is both relatively simple to learn and yet remarkably powerful.
  • 8.  Perl is a high level programming language  It is suitable for a wide varity of applications  It is an open sourse technology  A widely using web scripting languge
  • 9.  Perl is a High-level scripting language - no compiling is needed - it runs on unix , windows ,linux  fast and easy test processing capability fast and easy file handling capabilityvides It can be used for large variety of tasks Perl provides a large number of tools for quite in complicated situstions
  • 10. Perl implimented as in interpreted language Perl satnds for practical extractions and reporting language Perl language is easily manipulating test , files and preocess It is faster than sh or csh . And slower then c It can compiles at run time
  • 11.  It is available for unix ,windows ,mac os  Perl has become a very large system of modules
  • 12.  It is a high level programming language  And interpreted language  It is also scripted language Why is use
  • 13.  It is easy to gain a basic understanding of the language and start writing useful programs quickly.  There are a number of shortcuts which make programming ‘easier’.  Perl is popular and widely used, especially for system administration and WWW programming.
  • 14. Basic syntax :-  Statements end with “;”  Comments starts with “#” - only single line comments  U don’t have to declare variable before u access it
  • 15. Variables of perl  It has ‘3 ‘ variables mainly  Scaler variables , denoted by ‘$’ symbol  List variables , denoted by ‘@ ‘ symbol  Hash variables , denoted by ‘ %’ symbol
  • 16. Scalar variables  They should always be preceded with the $ symbol  There are no datatypes such as character or numeric  The scalar variables means that it can store only one value  If u treat the variables as character then it can store a character . If u treat it as a number It can store one number  Eg : $name = “chitty”;
  • 17. List variables  They are like arrays . It can be considered as a group of scalar variables  They always preceded by the @ symbol Eg @names = “veronica”;
  • 18. Hash variables  It has push , pop , shift , unshift operaters  Push and pop treat the list variables as a stack and operate on it they act on the higher subscript .  Shift and unshift act on the lower subscript
  • 19. Where using in real world  In test processing  for web programming  System administration  Web automation
  • 20. Avilable resourses :- Books :-  learning perl - by larry wall  programming perl - by larry wall ,
  • 21. Web site :-  http:safari.orially.com  contains both learning perl and programming perl in ebook form
  • 22. Perl and web :-  Perl used to be the most popular web programming language due to its test manipulation capabilities and rapid development cycle.  Perl can handle encrypted Web data, including e- commerce transactions.  Perl can be embedded into web servers to speed up processing by as much as 2000%.  Perl's mod_perl allows the Apache web server to embed a Perl interpreter.  Perl's DBI package makes web-database integration easy.
  • 23. Versions of perl :-  Perl 1. 0 version was introdused in 1987 (Larry wall introduced , while he was working as a programmer at unisys).  The language expended over the next years.  Perl 2 (version) was introdused in 1988 ,this featured better regular expresion.  Perl 3 was released in 1989.
  • 24.  Perl 4.036 was released in 1994.  Perl 5.000 relesed 1994 ,october 17, it was nearly completely rewrite of the interpreter, and also added many features to the language including objects , lexical variables ,and modules
  • 25.  Perl 5.003 was released june 25, 1996 as a security release.  Finnally the latest version was released in may 30, 2017 (5.26.0)
  • 26. Features of perl :-  the best features from other languages, such as C, awk, Perl takes sed, sh, and BASIC, among others.  Perls database integration interface DBI supports third-party databases including Oracle, Sybase, Postgres, MySQL and others.  Perl works with HTML, XML, and other mark-up languages.  Perl supports Unicode.  Perl supports both procedural and object-oriented programming.  Perl interfaces with external C/C++ libraries through XS or SWIG.  Perl is extensible. There are over 20,000 third party modules available from the Comprehensive Perl Archive Network (CPAN).  The Perl interpreter can be embedded into other systems.
  • 27. Advanteges of perl :-  1) Perl runs on all platforms and is far more portable than C. 2) Perl is a huge collection of Perl Modules are free software (either GNU General Public License or Artistic License). 3) Perl is very much efficient in TEXT and STRING manipulation i.e. REG_EXP. 4) It is a language that combines the best features from many other languages and is very easy to learn if you approach it properly. 5) Dynamic memory allocation is very easy in PERL, at any point of time we can increase or decrease the size of the array.
  • 28. Disadvantages of perl 1) You cannot easily create a binary image ("exe") from a Perl file. It's not a serious problem on Unix, but it might be a problem on Windows. 2) Moreover, if you write a script which uses modules from CPAN, and want to run it on another computer, you need to install all the modules on that other computer, which can be a drag. 3) Perl is an interpretative language, so its comparatively slower to other compiling language like C. So, it s not feasible to use in Real time environment like in flight simulation system.