Zoom Outline PDF View  or  Email Back to Schedule for Ohio


PERL Part II - Beyond The Basics




SUMMARY:   PERL Part 2 – BEYOND THE BASICS builds on the techniques in Perl Part 1 – Basics, and covers some of the more advanced programming and data structuring techniques provided by Perl and suitable for high-level applications of all types.

Upon completion, delegates will be able to use advanced Perl features of references, modules, and object-oriented techniques.

This highly-practical course discusses further Perl programming in the Windows and Red Hat Linux environments, although the course is applicable to other platforms.

AUDIENCE:   This course is valuable for programmers, technical managers, and system and network administrators familiar with basic Perl.

PREREQUISITES:   Delegates should have solid familiarity with basic Perl, including scalar, list, and hash array literals and variables and common operations on them; control structures and related operators; file operations; and subroutines, including the use of my and local variables. This may be achieved by completing our Perl Part 1 – Basics course.

DURATION:   4 Days

APPROACH:   An Instructor-Led, Workshop-based training class.

OBJECTIVES:  

  • Review the basic features of Perl.
  • Work with references to multidimensional arrays and hashes
  • Use advanced Perl features including anonymous subroutines and prototypes
  • Benefit from standard library modules including Math, Time, Benchmark.pm and Config.pm.
  • Structure Perl code with packages and modules.
  • Build robust systems using Object-oriented facilities.
  • Carry out advanced processing using eval, bit manipulation and others
  • Use Perl for CGI Programming
  • Use mod_perl to speed up web access

COURSE CONTENT:  
  1. Basics Revisited
    • 1.1 Data types and their manipulation
    • 1.2 Control structures and subroutines
    • 1.3 Text Manipulation
    • 1.4 Input/Output techniques
    • 1.5 Lab: Writing and testing basic Perl programs
  2. References
    • 2.1 Reference Concepts
    • 2.2 Using References
    • 2.3 Multidimensional arrays
    • 2.4 Reference types and ref() function
    • 2.5 Reference constructs
    • 2.6 Advanced data structure examples
    • 2.7 Sorting an array of references
    • 2.8 Lab: Writing efficient programs with references
  3. Reference passing and prototypes
    • 3.1 Subroutine pre-declaration
    • 3.2 Anonymous subroutines
    • 3.3 Call by Reference
    • 3.4 Prototypes
    • 3.5 Overloaded functions
    • 3.6 Lab: Using anonymous subroutines
  4. Useful Standard Library Modules
    • 4.1 Module concepts
    • 4.2 Standard library modules
    • 4.3 Math modules
    • 4.4 Time modules
    • 4.5 Benchmark.pm
    • 4.6 Config.pm
    • 4.7 File/Directory standard library modules
    • 4.8 File::Basename, {File::copy}, {File::Find}, File::Path}
    • 4.9 Lab: Writing Perl programs using standard library modules
  5. Packages and Modules
    • 5.1 Namespaces and packages
    • 5.2 use and require
    • 5.3 Module semantics
    • 5.4 @INC array
    • 5.5 lib module
    • 5.6 File/directory standard library modules
    • 5.7 BEGIN … END blocks
    • 5.8 AUTOLOADing
    • 5.9 Lab: Writing Packages and Modules in Perl
  6. Object-Oriented Programming
    • 6.1 Object-Oriented Background
    • 6.2 Object-Oriented Concepts
    • 6.3 Class methods and attributes
    • 6.4 bless() function
    • 6.5 Accessing object methods
    • 6.6 The -> notation and variations
    • 6.7 Perl-style inheritance, @ISA special array
    • 6.8 Polymorphism
    • 6.9 tie
    • 6.10 Private data via closures
    • 6.11 Lab: Developing object-oriented programs in Perl
  7. Miscellaneous/advanced functions and keywords
    • 7.1 Random numbers
    • 7.2 eval
    • 7.3 bit manipulation
    • 7.4 pack() and unpack()
    • 7.5 Advanced array functions
    • 7.6 Other miscellaneous functions
    • 7.7 Lab: Using miscellaneous functions and keywords
  8. CGI Programming
    • 8.1 Why Perl and CGI?
    • 8.2 CGI Architecture
    • 8.3 Writing a CGI Script
    • 8.4 Redirecting Error Messages
    • 8.5 Writing a Safe CGI Program
    • 8.6 Redirecting to a different location
    • 8.7 Debugging the raw HTTP Exchange
    • 8.8 Managing Cookies
    • 8.9 Creating Sticky Widgets
    • 8.10 Lab: Developing a simple web site using Perl and CGI
  9. mod_perl
    • 9.1 mod_perl and Apache
    • 9.2 Handlers
    • 9.3 Authentication
    • 9.4 Setting Cookies
    • 9.5 Accessing cookie values
    • 9.6 Interrogating Headers
    • 9.7 Accessing Form Parameters
    • 9.8 Reloading Uploaded Files
    • 9.9 Lab: Use mod_perl to build faster web sites

GH/06

© 2007 Verhoef Training, Inc.

Schedule Dates

Course offered as
Inhouse or Public


There are no classes scheduled for this subject at this time.

Send us a request for this class

or

contact your account manager for scheduling information.

Contact Us


Copyright © 2007 - Verhoef Group of Companies - All Rights Reserved