Search our courses
Training

This Advanced Perl Programming training course begins with a thorough treatment of packages, modules, and libraries. Next, Perl references are studied. This gives students the necessary background to write object-oriented Perl. Various applications and areas that use object orientation are studied next. These modules include the Tk.pm module for building Graphical User Interfaces, the DBI.pm module, which provides a portable way of querying databases, the CGI.pm module for writing CGI programs, and the Socket.pm module used in client server networking applications. Finally a treatment of XML and Perl is undertaken.

Advanced Perl Programming

Course Code

GTPL2

Duration

4 Days

Course Fee

POA

Accreditation

N/A

Target Audience

Programmers, end users, system administrators, network administrators, and CGI script writers should attend this course.

Attendee Requirements

Participants should be well-versed in the fundamentals of Perl. The skills are taught in the following course:

If you have any questions or doubts as to whether you meet the pre-requisites for this course, or indeed are wondering which course best suits you, please Contact Us to discuss your suitability for course attendance.

Expand all

Course Description

This Advanced Perl Programming training course begins with a thorough treatment of packages, modules, and libraries. Next, Perl references are studied. This gives students the necessary background to write object-oriented Perl. Various applications and areas that use object orientation are studied next. These modules include the Tk.pm module for building Graphical User Interfaces, the DBI.pm module, which provides a portable way of querying databases, the CGI.pm module for writing CGI programs, and the Socket.pm module used in client server networking applications. Finally a treatment of XML and Perl is undertaken.

Course Outline

Chapter 1: What You Should Already Know

A Quick Review of Perl

Perl Libraries

The Standard Perl Library

Packages

Modules

Using .pm Modules

Exporter.pm

Standard Perl Modules

Comprehensive Perl Archive Network (CPAN)

Roman.pm

Miscellaneous Perl Topics – wantarray

Chapter 2: Associative Arrays

Introduction

Associative Arrays as Dual Arrays

A Hashing Algorithm

Collisions

Associative Arrays

Sorting by Keys or Values

Finding Unique Tokens in a File

Reverse Lookups

Selecting the Top n Elements

 Chapter 3: References

Introduction

Summary of References

Array References

Anonymous Arrays

Anonymous Hashes

Prototypes

Higher Dimensional Arrays

Complex Hashes

References and Subroutines

Anonymous Subroutines

Lists of References

Chapter 4: Object-Oriented Programming

Introduction

Object-Oriented Vocabulary

The class Definition

Defining and Using Objects

Information Hiding

Instance Methods

Destructors

Class Methods

Inheritance

Polymorphism

Documenting Perl Code

IO.pm

Chapter 5: The TK.PM Module

Introduction

Event Driven Programming

Geometry Management

pack()

grid()

grid()Options

place(): Absolute Coordinates

place(): Relative Coordinates

The Label Widget

The Button Widget

The Checkbutton Widget

The Radiobutton Widget

The Dialog Widget

Text Input Widgets

The Listbox Widget

Menus

Frames

Toplevel Widgets

Bind

Chapter 6: Client-Server Applications and CGI

Introduction

Internet Terminology

Data Delivery

Writing a Simple Client

Writing a Simple Server

Writing an Iterative Server

ftp

The Common Gateway Interface

HTML Forms

The CGI Environment

Administering the Server

The HTTP Protocol

Header Information

The CGI Script

Extracting Form Data

The CGI Response

CGI Output

Database Access

What Can Go Wrong?

Images

Extra Path Information

Chapter 7: CGI.pm

Using CGI.pm?

Simple Form Elements

Parameters

HTML Tags

Form Processing

checkbox_group and radio_group

Text Areas

Popup Menus and Scrolling Lists

Debugging

Chapter 8: Accessing Real Databases in Perl

Introduction

Architecture

Review of SQL

Accessing Databases from Perl

Executing a Query in Perl

Accessing Database Metadata

Interactive Requests

Adding a Graphical Front-End

Accessing a Real Database via a Web Form

Chapter 9: XML Fundamentals

Introduction

What is a Markup Language?

SGML vs. HTML

Sample HTML Document

XML

Creating Semantic Tags

XML Syntax

Elements

Attributes

Comments

Unicode and Character Sets

Character References

Entity References

Character Data Sections (CDATA)

Processing Instructions

Parsing XML

Chapter 10: Processing XML With Perl

Creating an XML Document With Perl

Creating an XML Document

Using an XML Parser

XML::Simple

XML::Parser

 

Appendix A: An HTML (P)review

An HTML (P)review

An HTML (P)review: Basics

An HTML (P)review: Formatting Basics

An HTML (P)review: Links

An HTML (P)review: Forms

Learning Path

There are a number of options of suitable follow-on courses, depending on your business needs. Please Contact Us for further details.

Ways to Attend
  • Attend a public course, if there is one available. Please check our Schedule, or Register Your Interest in joining a course in your area.
  • Private onsite Team training also available, please Contact Us to discuss. We can customise this course to suit your business requirements.

Private Team Training is available for this course

We deliver this course either on or off-site in various regions around the world, and can customise your delivery to suit your exact business needs. Talk to us about how we can fine-tune a course to suit your team's current skillset and ultimate learning objectives.

Private Team Training | Contact us

Technical ICT learning & mentoring services

Private Team Training

Our instructors are specialist consultants with vast real world experience and expertise allowing them to design and deliver client-focused courses for your organisation.

Learn more about our Private Team Training

What Our Clients Say

"For a senior technical person, the best of this course is setting a structured and methodical approach for evaluation techniques we already use. It would be also very beneficial to senior managers (100+ reports). There is a huge hype on Gen AI at the moment, and this course will help them see the potential, current limitations and pitfalls of this technology".

 

Critical Thinking with AI for tech professionals

In-person course October '25

 


“It was very positive. This course was 4 days but covered a semester worth of work if it was done in college. The labs were relevant and delegates were provided the lab/coursebook for further study and practice after the course finished. GuruTeam's course was excellent and provides a deeper understanding of the architecture and how it all works. The hands-on aspect was very helpful as it helped solidify the concepts as I went along."

 

Kubernetes Administration Certification - GTLFK

Live Online September 2024

 

 

 

“The Instructor was very knowledgeable, laid back and very approachable during the course. The environment setup was second to none.  Very easy to jump in and follow along with minimal pre-req setup."

Kubernetes Administration Certification - GTLFK

Onsite May 2024

 

“The experience was complete for me. I like how the training was sequenced - the slides organization, the examples and explanations and then the exercises. Time for exercises and support by the Instructor was great plus answering the questions and going out for answers and coming back with examples as brilliant. I loved how much I refreshed and how I learned and got inspired to improve stuff at work.”

 

Docker - GTDK1

Live Online December 2024

 

“Great instructor, who encouraged active participation. The breakout groups and exercises kept the group engaged and the content relevant to our own products”.

 

Site Reliability Engineering Foundation - GTDSRE

Live Online January 2022

 

 

 

"Intelligence is the ability to avoid doing work, yet
getting the work done"

Linus Torvalds, creator of Linux and GIT

Technical ICT learning & mentoring services

About GuruTeam

GuruTeam is a high-level ICT Learning, Mentoring and Consultancy services company. We specialise in delivering instructor-led on and off-site training in Blockchain, Linux, Cloud, Big Data, DevOps, Kubernetes, Agile, Software & Web Development technologies. View our Testimonials

Download our eBrochure
Our Accreditation Partners
  •  
  •  
  •  

 

Upcoming Courses

Kubernetes Admin

Dates to be confirmed

 Live Online
 GMT +01:00  09:30 - 17:00 hrs

This Kubernetes Administration
Certification training course is
suitable for anyone who wants
to learn  the skills necessary to build and administer a Kubernetes cluster.

 

LEARN MORE

RUST PROGRAMMING INTRODUCTION

Dates to be confirmed

 Live Online
 GMT +01:00  09:30 - 17:00 hrs

This Rust Programming Introduction training course will help you understand what Rust applications look like, how to write Rust applications properly, and how to get the most out of the language and its libraries.
 

Learn More

NEW FAST TRACK PYTHON SERIES

Dates to be confirmed

Live Online
GMT +01.00  09:30 - 17:00 hrs

Hit the ground running.....
GuruTeam’s new Python Fast Track series Instructor-led live online training
designed & delivered by industry experts.

Python Fast Track I Comprehensive
Python Fast Track II Expert
Python Fast Track III for Data Science

 

 

 

Learn More

GO PROGRAMMING INTRODUCTION

 Dates to be confirmed
  

Live Online
GMT +01:00  09:30 - 17:00 hrs

This Go Programming Introduction training course will help you understand how Go works, and immediately be more productive. If you are building a team using Go, this will be a great opportunity to get your team on the same page and speaking the same language.

Learn More

Newsletter

Stay up to date, receive updates on scheduled dates, new courses, offers, and events.

Subscribe to our Newsletter