Adv Perl

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

http://www.sela.co.

il/India *** Phone: +91 20 65216466 *** Fax: +91 20 26053565

PRL2 - Version: 1 - 04/11/2010

Adv. Perl Programming and TK intro


3 days Course

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

• Basic Data Type – Reminder


o Scalar Type
o Array Type
o Hash Type
o Variable Scoping- local, my, our, use

• Basic regular expressions


o Concepts About Regular Expressions
o Simple Uses of Regular Expressions
o substitute operator
o Single-Character Patterns
o Multipliers
o General multiplier
o Alternation
o The =~ Operator

• Adv. regular expressions


o Classes
o extended constructs
o Variables
o Reg. exp functions

• References

http://www.sela.co.il/India *** Phone: +91 20 65216466 *** Fax: +91 20 26053565


http://www.sela.co.il/India *** Phone: +91 20 65216466 *** Fax: +91 20 26053565

o Making References
o Basic Usage of references
o Nested Structures
o Hash Reference

• Adv. Text Manipulation


o map
o grep
o pack / unpack
o format

• 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

http://www.sela.co.il/India *** Phone: +91 20 65216466 *** Fax: +91 20 26053565

You might also like