This Perl course is designed for those people who have had little or no experience of Perl and would like to cover Perl from the beginning upto and including some advanced topics. We will take you through the basics of writing Perl correctly and understanding it, to working with references and creating Object Oriented code, enhancing your understanding of many Perl modules already in existance.
This course is intended for those of you who wish to be introduced to Perl, but at the same time wish to rapidly enhance your understanding to an advanced level. An understanding of a previous programming language or scripting language (e.g. Unix shell scripts or VBScript) would be an advantage. If you have fumbled your way through Perl scripts without knowing what they do, this course will suit you.
The course work is based around a 40/60 approach to lecture and hands on giving the attendee the chance to really work with the system and see its potential. Where possible the practicals will use real world examples and useful starting code that can be integrated into new or existing projects.
A previous programming or scripting language. No knowledge of Perl is required.
1st Day: Start 9:30am - Finish 5:00pm
Subsequent Days: Start 9:00am - Finish 5:00pm
Why use Perl , History, Environment, Help, simple script and script structure.
Types, definitions, Arrays and single values, interpolation.
Array to Hashes and vice versa, Hash and Array functions, Looping through hashes, defined or undefined, slicing and sorting.
Numeric operators, precedence, string operators, conversion and more.
Built in functions of the Perl interpreter for working with numbers, strings and arrays.
Refresh of loops, and extras about the FOREACH loop, while loop, variable scope, exiting early, Unless and until and conditional operators
Opening and reading file refresh, working with loops and files, command line arguments, filesystem manipulation, globbing
Character mapping, searching and replacing text.
Mapping, searching, splicing.
Making readable code, better maintenance, reusable code.
Subroutine refresh, creating and using modules and how they are used in projects.
Creating and using, complex data structures.
Detection, returning errors, eval, %SIG and making your programs more resilient.
General OO Concepts, How Perl uses references for OO, Constructors, Destructors, Inheritance, Classes, polymorphism, Method & Operator overload, reference counting.
File transfer with FTP module, HTTP communication, and Email.
Using Win32::ODBC and DBI, ability to communicate with Windows and Unix Databases.
Lots of examples and practical questions to give you a chance to try things out. Feel free to bring along your own ideas to try.