Advanced Perl Programming
Course
Inhouse
Description
-
Type
Course
-
Methodology
Inhouse
-
Duration
5 Days
On successful completion of this course, participants will be able to: Use the object-oriented features of Perl. Use advanced regular expression features. Access databases using DBI/DBD modules. Perform CGI processing using the CGI module. Write networked applications in Perl. Write multi-processing applications in Perl. Suitable for: This course is for Perl programmers who wish to use the object-oriented features of Perl to perform CGI processing, database access, networking and multi-processing.
About this course
This course is for Perl programmers who wish to use the object-oriented features of Perl to perform CGI processing, database access, networking and multi-processing.
Reviews
Course programme
Perl is a powerful language for general-pupose text processing. Nevertheless, the major use for Perl has been CGI scripting. It is estimated that over 90% of CGI scripts are written in Perl.
Recent versions of Perl have included object-oriented features. Many modules are now object-oriented, including the CGI module for web page processing and the DBI module for data access.
This course provides a firm grounding in Perl's object-orientation and covers advanced use of regular expressions, before concentrating on web processing and data access.
Outline
Review
■Importing modules
■Writing modules
■Packages
■Passing arguments to subroutines
■Using references
■Subroutine references
Regular Expressions
■Multi-line matches
■Minimal matches
■Regular expression extensions
Object Orientation
■Creating classes
■Constructors and destructors
■Virtual constructors
■Copying references and values
■Operator overloading
■Anonymous subroutines and closures
■Inheritance
Database Access
■The DBI/DBD architecture
■DBD drivers
■Connection and disconnection
■Executing SQL statements
■Processing statement results
■Accessing metadata
■Transactional processing
Web Programming
■HTTP overview
■The CGI module
■Form processing
■State management
■Image handling
■Using cookies
■Encryption modules
Networking
■TCP/IP overview
■Using sockets
■Writing clients and servers
Multi-processing
■Process creation and destruction
■Thread creation and destruction
■Synchronisation
Interfacing to Other Languages
■Calling C routines
■Accessing Perl from C
■Graphical interfaces with Perl/Tk
Advanced Perl Programming