Adv Perl
Adv Perl
Adv Perl
Course Description
This course gives a deeper understanding to the Perl programming language and its advanced
features. In addition, Perl’s GUI Tool Kit (TK) will be introduced.
Intended Audience
The course is meant for users, administrators and programmers who want to enhance their Perl
programming skills.
Prerequisites
• A basic Perl knowledge is required
Objectives
• Upon completion of this course the student will be able to use advance features of the Perl
language
Reading
Topics
• Reading from and Writing to Files
o What Is a Filehandle?
o Opening and Closing a Filehandle
o A Slight Diversion: die
o Using Filehandles
o File Tests and Their Meanings
o Manipulating the File pointer
• References
o Making References
o Basic Usage of references
o Nested Structures
o Hash Reference
• Perl modules
o Packages
o Symbol Tables
o BEGIN, CHECK, INIT and END
o Perl Modules
• Perl OO
o Creating a Class- Object Representation, Class Interface, Constructors and Instance
Methods, Constructors, Destructors, Other Object Methods
o Class Data- Accessing Class Data, Debugging Methods, Class Destructors, Documenting
the Interface
o Aggregation
o Inheritance- Overridden Methods, Multiple Inheritance
• Perl_Tk Overview
o Introduction to the Perl/Tk Package
o Widgets
o Widget Methods
o The configure method
o Callbacks
o Scrollbars
o The Scrollbar widget
o Geometry Managers
o The pack Geometry Manager
o The grid Geometry Manager
o The Place Geometry Manager
o The Button Widget
o The Checkbutton Widget
o The Radiobutton Widget
o The Label Widget
o The Entry Widget
o The Listbox Widget
Follow on courses