PERL Fundamentals (Course Code: 141)

Course Schedule:

Please call 8622 8900 or email us for further information

Overview:

This course will teach you how to fully utilise the Perl programming language. You will learn the Perl syntax, the basics of using regular expression, how to use Perl data types, and how to access and manipulate files. You will also be introduced to database connectivity and debugging techniques.

Learning Method:

The intensive course is presented over 3 days using a combination of instructor presentation, and student hands-on practical exercises.

Who will benefit from this course?

This course is designed for:

  • Webmasters
  • Software Developers
  • Application Programmers
  • Client/Server Developers
  • Desktop Publishers.

It helps prepare you for job responsibilities including:

  • implementing and maintaining hypertext-based Web sites using authoring and scripting languages
  • applying human factors principles to design
  • creating Web content
  • using Web management tools and digital media tools.

Pre-requisites:

Before attending this course you must be familiar with Hypertext Markup Language (HTML) authoring. No previous programming experience is required

What can you expect to gain from this course?

On completion of the course you will:

  • know how to fully utilise the Perl programming language
  • know how to access and manipulate files using Perl data types
  • know how to debug Perl scripts.

Course Content:

Module 1:Introduction to Perl
  • Practical Extracting and Reporting
  • Language (Perl)
  • Getting Started with Perl
  • Scalar Variables
  • Numerical Variables
  • String Variables
  • Retrieving Data from STDIN
Module 2: Flow Control in PERL
  • Boolean Expressions in PERL
  • The if statement
  • The for, while, and do {} while Loop
  • Statements
  • Loop-Control Commands
  • I/O Redirection
Module 3: Regular Expressions in PERL
  • Introduction to Regular Expressions
  • Character Classes
  • Pattern Matching and Substitution
Module 4:Arrays in Perl
  • Introduction to Perl Arrays
  • Accessing Array Elements
  • The sort Function
  • The foreach Statement
  • The push, pop, shift and unshift Functions
  • The split and join Functions
Module 5: Hashes in Perl
  • Introduction to Perl Hashes
  • Adding and Deleting Hash Elements
  • The keys, values, each, and reverse Functions
Module 6:Subroutines in Perl
  • Introduction to Perl Subroutines
  • Variable Scope
  • References
Module 7:File Input and Output in Perl
  • Introduction to Perl File Input and Output
  • What is a Filehandle?
  • The open Function
  • Outputting Data to a File
  • Opening Files for Reading
  • Determining Information About Files
  • The stat and lstat Functions
Module 8:Environmental Variables and Command Line Arguments
  • Environment Variables
  • Command Lines Arguments
Module 9:Packages and Modules in Perl
  • Using Packages in Perl
  • BEGIN and END Blocks
  • Using Modules in Perl
  • The use and require Statements
Module 10:Object-Oriented Perl
  • Introduction to Object-Oriented Perl
  • Creating Objects in Perl
  • Inheritance
Module 11:Database Connectivity in Perl
  • Introduction to Database Connectivity
  • Database Programming with Perl
  • Interacting with Databases
  • Connecting to Databases
  • Structured Query Language (SQL)
  • Quoting Operations
Module 12:Debugging Perl Programs
  • Introduction to Debugging Perl Scripts
  • Using the print Command
  • Using the –w Switch
  • Using the strict Module
  • The Perl Debugger
  • Writing Bug-free Perl Code