0% found this document useful (0 votes)
53 views

Adv Perl

This 3-day course provides an in-depth introduction to advanced Perl programming features and Perl's GUI Toolkit (TK). The course is intended for users, administrators and programmers looking to enhance their Perl skills. Topics covered include reading from and writing to files, basic and advanced data types, basic and advanced regular expressions, references, advanced text manipulation, Perl modules, object-oriented Perl, and an overview of Perl/TK including widgets, geometry managers, and common GUI elements. Prerequisites include a basic knowledge of Perl.

Uploaded by

azahir
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views

Adv Perl

This 3-day course provides an in-depth introduction to advanced Perl programming features and Perl's GUI Toolkit (TK). The course is intended for users, administrators and programmers looking to enhance their Perl skills. Topics covered include reading from and writing to files, basic and advanced data types, basic and advanced regular expressions, references, advanced text manipulation, Perl modules, object-oriented Perl, and an overview of Perl/TK including widgets, geometry managers, and common GUI elements. Prerequisites include a basic knowledge of Perl.

Uploaded by

azahir
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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