3 arrows

Summer-Ready Savings: Up To $500 Off Training 

closeClose

Advanced Perl Programming

  • Tuition USD $2,495 GSA  $2,262.47
  • Reviews star_rate star_rate star_rate star_rate star_half 4064 Ratings
  • Course Code TTPS4926
  • Duration 4 days
  • Available Formats Classroom

This course provides advanced Perl coding tools that go beyond the basics. For the programmer that has mastered the basic building blocks of Perl, this course focuses on several common application domains (e.g. Networking, database access) . Perl best practices are also emphasized.

Skills Gained

  • Create efficient data structures using references
  • Understand advanced text parsing techniques
  • Access data from relational database systems
  • Create reusable modules
  • Design and use objects
  • Create TCP/IP clients and servers

Who Can Benefit

This course is designed for programmers who want to leverage their basic Perl knowledge into production-quality tools.

Prerequisites

Students should have a solid grasp of basic Perl programming.

Course Details

Reference refresher

  • Creating references
  • Anonymous arrays and hashes
  • Dereferencing
  • References and subroutines
  • References and arrays
  • Complex data structures

Data wrangling

  • Reading text files
  • Creative use of <> and $/
  • Matching and substituting
  • RE review
  • Using backreferences
  • Parsing lines
  • Using here documents and __END__
  • Converting data with pack/unpack

Shortcuts and Defaults

  • The ubiquitous $_
  • How to use <>
  • Pattern matching in brief
  • File tests on _
  • One-liners

Modern Perl

  • Features added since 5.0
  • Higher-order functions
  • Say()
  • Switch statement (given/when)
  • Smart matching
  • Defined-or
  • State variables
  • Lexical $_

Using Modules

  • Perl modules
  • Use vs. require
  • A quick tour
  • Bundled libraries and modules
  • Downloading and installing from CPAN
  • Case study: Using Getopt::Long

Creating Modules

  • Review of subroutines
  • Understanding my () and local ()
  • Packages and the symbol table
  • Mechanics of module creation
  • Exporting subroutines and data
  • Using BEGIN and END
  • Good module design

Classes

  • Perl's approach to Classes
  • Understanding bless
  • Constructors
  • Methods
  • Properties
  • Inheritance

Exception handling

  • Simple exception handling
  • Trapping exceptions
  • Using Carp, Croak, and Cluck
  • Raising exceptions
  • Using Exception::Class

Database Access

  • Understanding the DBI
  • Connecting to a database
  • Executing queries and fetching results
  • Obtaining metadata
  • Advanced DBI issues

Tk

  • Anatomy of a Tk Application
  • Basic GUI Programming
  • Widgets
  • Fonts and Colors
  • Selectable Buttons
  • Data entry fields
  • Widget Layout
  • Event handling
  • Callbacks

Network Programming

  • About clients and servers
  • Ports and IP addresses
  • The IO::Socket module
  • A simple client
  • Accessing standard services
  • A simple server
  • Serializing data structures with freeze/thaw

Threads

  • What is a thread?
  • Models for threaded applications
  • Using the threads module
  • Waiting for threads
  • Sharing data
  • Synchronizing access to shared data

XML

  • About XML
  • Sax or DOM?
  • DOM: The Document Object Model
  • Sax: Simple API for XML
  • Which module does what?
  • XML::Twig
  • Navigating
  • Prettyprinting
  • Modifying XML
  • Writing a SAX handler

Enterprise Development

  • Coding standards
  • Source code tools
  • Core modules
  • Saving time with module-starter
  • Documenting with POD
  • Benchmarking and Profiling
  • Unit testing
  • Distributing and installing modules

When does class start/end?

Classes begin promptly at 9:00 am, and typically end at 5:00 pm.

Does the course schedule include a Lunchbreak?

Lunch is normally an hour long and begins at noon. Coffee, tea, hot chocolate and juice are available all day in the kitchen. Fruit, muffins and bagels are served each morning. There are numerous restaurants near each of our centers, and some popular ones are indicated on the Area Map in the Student Welcome Handbooks - these can be picked up in the lobby or requested from one of our ExitCertified staff.

How can someone reach me during class?

If someone should need to contact you while you are in class, please have them call the center telephone number and leave a message with the receptionist.

What languages are used to deliver training?

Most courses are conducted in English, unless otherwise specified. Some courses will have the word "FRENCH" marked in red beside the scheduled date(s) indicating the language of instruction.

What does GTR stand for?

GTR stands for Guaranteed to Run; if you see a course with this status, it means this event is confirmed to run. View our GTR page to see our full list of Guaranteed to Run courses.

Does ExitCertified deliver group training?

Yes, we provide training for groups, individuals and private on sites. View our group training page for more information.

Does ExitCertified deliver group training?

Yes, we provide training for groups, individuals, and private on sites. View our group training page for more information.

Very good material, the instructor was clear explaining the topics, and the labs were easy to follow it.

Thank you for training on AWS development. Course was good and encouraging but labs need to be improved and provide more information and ask students to more work than provide solutions.

Instructor was great, course was mostly very good except for too much focus on pricing

The class was good, but at times the pace did seem a bit fast to actually try to remember some of the information.

Great class I learned a great deal from the material. There would seem to a large amount that I need to learn about.

0 options available

There are currently no scheduled dates for this course. If you are interested in this course, request a course date with the links above. We can also contact you when the course is scheduled in your area.

Contact Us 1-800-803-3948
Contact Us
FAQ Get immediate answers to our most frequently asked qestions. View FAQs arrow_forward