Perl Programming - Part 2
Course
In Bath
Description
-
Type
Course
-
Location
Bath
-
Duration
2 Days
Perl is a mature, extremely flexible, general-purpose language, which is especially well suited to textual manipulation. In addition to its brilliant built-in facilities, there are vast freely-accessible libraries of Perl code to help build almost every conceivable application. It is, for instance, in many cases the language of choice for implementing web server-based CGI programs. Suitable for: System administrators, database administrators and testers. The course is also suitable for developers working with CGI programs or other applications.
Facilities
Location
Start date
Start date
About this course
Students should have attended our Perl Programming - Part 1 course or have equivalent knowledge.
Reviews
Course programme
AUDIENCE: System administrators, database administrators and testers. The course is also suitable for developers working with CGI programs or other applications.
PREREQUISITES: Students should have attended our Perl Programming - Part 1 course or have equivalent knowledge.
DURATION: 2 days. Hands on.
OBJECTIVES: Perl is a mature, extremely flexible, general-purpose language, which is especially well suited to textual manipulation. In addition to its brilliant built-in facilities, there are vast freely-accessible libraries of Perl code to help build almost every conceivable application. It is, for instance, in many cases the language of choice for implementing web server-based CGI programs. And it''s available free-of-charge.
This course builds on the techniques in Perl Programming - Part 1. It covers the more advanced programming and data structuring techniques provided by Perl, suitable for high-level applications of all types, including references, modules and object-oriented techniques. There is also an optional third day that covers techniques which may be applicable for specific types of applications, as well as some legacy techniques. Where applicable, for one company, one or more of these topics may be substituted for topics in the two-day framework.
COURSE CONTENT:
Basic revisited
Data types and their manipulation
Control structures and subroutines
Text manipulation
Input/Output techniques
References
Basics revisited
Multidimensional arrays
Reference types and ref() function
Reference constructs
Advanced data structure examples
Sorting an array of references
Reference passing and prototypes
Subroutine pre-declaration
Anonymous subroutines
Call by reference
Prototypes
Overloaded functions?
Useful Standard Library modules
Math modules
Time modules
Bechmark.pm
Config.pm
File/directory standard library modules:
File::Basename, { File::Copy, { File::Find, { File::Path
File and Directory Manipulation
Emulating operating sytems commands
Globbing and directory handles
Packages and modules
Namespaces and packages
use and require
Module semantics
NC array
lib module
File/directory standard library modules
BEGIN...END blocks
AUTOLOADing
Object-oriented programming
Background to object-orientation
Accessing object methods
Class methods and attributes
bless() function
The -> notation and variations
Perl-style inheritance, ISA special array
Polymorphism
Introduction to the tie command
Private data via closures
Miscellaneous/advanced functions and keywords
Random numbers
eval
bit manipulation
pack and unpack
Advanced array functions
Other miscellaneous function
IB07/01
Perl Programming - Part 2