![Page 1: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/1.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
1
PerlPerl
The The FriendlyFriendly Programming Language. Programming Language.
A short talk to introduce the Perl A short talk to introduce the Perl programming language and it's programming language and it's cultureculture..
![Page 2: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/2.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
2
HistoryHistory
● Perl is a programming language created by Larry Wall in 18 December 1987
● Perl 5 released on 17 October 1994● Perl 5.8.8 released 2 February 2006● Perl 5.10.0 really soon now● Perl 6 still to be released...
![Page 3: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/3.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
3
Perl's ParentsPerl's Parents
● Perl is a language that unashamedly takes ideas from other languages
● awk/nawk● sed● shell● c● Lisp
![Page 4: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/4.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
4
Compiled or Interpreted?Compiled or Interpreted?
● Perl source code is compiled very quickly into a syntax tree
● The syntax tree is automatically optimised● Finally the optimised syntax tree is executed
● Perl is compiled and interpreted just like other modern languages such as Java.
![Page 5: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/5.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
5
““hard tasks easy and seriously hard tasks easy and seriously non-trivial tasks possible”non-trivial tasks possible”
● Perl is designed to make life easy for the programmer
● Autovivication of variables● Dynamic typing● Automatic memory management● Hashes● Procedural, object-oriented or both● Many, many built-in convenience features
![Page 6: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/6.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
6
Hello WorldHello World
print 'Hello World'
![Page 7: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/7.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
7
Hello World MK-2Hello World MK-2
#!/usr/bin/perl
use strict;
use warnings;
my $greeting = “Hello World\n”;
print $greeting;
exit;
![Page 8: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/8.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
8
BooksBooks
![Page 9: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/9.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
9
ComprehensiveComprehensivePerl Archive NetworkPerl Archive Network
● Over 10,000 modules● A module for every imaginable task:
● Web/CGI● Databases● SAP● MP3/Oggs● Time/Dates● Templating● and much much more!
![Page 10: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/10.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
10
CPANCPAN
● Global system with mirrors worldwide.● PAUSE
● Perl Authors Upload SErver● RT
● Request Tracker● CPAN testers & CPANTS● Search/Kobe Search
● Two Web Based Search engines
![Page 11: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/11.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
11
Killer Modules!Killer Modules!
● CGI● DBI● Template● CPAN● Apache mod_perl● File::Find::Rule● LWP/WWW::Mechanize● MVC/ORM
![Page 12: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/12.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
12
Useful ResourcesUseful Resources● Perl Training Australia:
● http://perltraining.com.au/notes.html
● Ovid's CGI Course:● http://users.easystreet.com/ovid/cgi_course/
● Learn.perl.org:● http://learn.perl.org/
● Online Documentation:● http://perldoc.perl.org/
● Randal's Perl Columns:● http://www.stonehenge.com/merlyn/columns.html
![Page 13: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/13.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
13
Community SitesCommunity Sites
● PerlMonks:● http://www.perlmonks.org/
● Use Perl;● http://use.perl.org/
● Perl Foundation:● http://www.perl.org/
● Perl Mongers:● http://www.pm.org/
![Page 14: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/14.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
14
More Links...More Links...
● http://www.cpan.org/
● http://search.cpan.org/
● http://kobesearch.cpan.org/
● http://rt.cpan.org/
● http://pause.perl.org/
● http://cpants.perl.org/
● http://perldoc.perl.org/
● http://www.perl.com/
![Page 15: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/15.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
15
This TalkThis Talk
● The original version of this talk can be obtained from me, or downloaded from my LUG in either OO.o or PDF format or as video in ogg, wmv or flash.
● http://www.hants.lug.org.uk/cgi-bin/wiki.pl?TechTalks/3rdJune2006
● PGP Key: 1024D/166C4BF0
![Page 16: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/16.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
16
![Page 17: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/17.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
17
![Page 18: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/18.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
18
![Page 19: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/19.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
19
![Page 20: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/20.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
20
![Page 21: The Friendly Programming Language. A short talk to ... · Perl is a programming language created by Larry Wall in 18 December 1987 Perl 5 released on 17 October 1994 Perl 5.8.8 released](https://reader036.vdocuments.us/reader036/viewer/2022062604/5fbd5153968a6c41c92944fb/html5/thumbnails/21.jpg)
Version 1.1.0 © Adam Trickett July-2007 Distributed under a creative commons Attribution-NonCommercial-ShareAlike licence.
21