Perl 4: Applied Perl

In this course, you will learn to apply Perl in performing many common complex tasks.  You will not only learn how to use objects in Perl, but also how to make your own, so that you, too, can create reusable code (aka modules).  We will cover the basics of object-oriented programming in Perl, plus more advanced aspects such as inheritance, polymorphism, inside-out objects, and use of the Moose O-O system. Also, because some of the modules we will need do not come with standard Perl distribution, we will show you how to get any module you want from the Comprehensive Perl Archive Network (CPAN).  All this, plus multiprocessing in Perl and using its built-in debugger, awaits you in Perl 4.

Upon completion of this course, you will be able to:

  • Create reusable modules in object-oriented Perl.
  • Send email using Perl.
  • Process web page forms.
  • Interact with a database.
  • Scrape web pages and parse HTML.
  • Handle complex date and time data.
  • Implement the Moose O-O system in Perl.

From beginning to end, you will learn by doing Perl-based projects and submitting them for instructor feedback.  These projects, as well as the final project, will add to your portfolio and will contribute to certificate completion.  Besides a browser and Internet connection, all software is provided online by the O’Reilly School of Technology.

This course counts toward the Perl Programming Certificate Series.

Prerequisites: Perl 3: Advanced Perl, or equivalent skills.  This course is meant for the advanced or professional Perl programmer.

60 Clock-hours  4 CEUs  $448.00 $313.60

Add to Cart:   Proceed with Enrollment

Course Details and Syllabus

Course: Perl 4: Applied Perl
Tuition: $448 $313.60
Time Frame: This course is completely self-paced. You can expect to work approximately 60 hours on this course.
Technical Requirements: As long as you have a web browser and internet connection, you can take this course from anywhere in the world.
CEUs: 4 Continuing Education Units with official letter from O’Reilly Media.
Software: The web-based Learning Sandbox® provided for you will contain all your lessons, projects, quizzes, account files, editors, and programming tools necessary to build your skills from beginning to end, even beyond coursework. In addition, you’ll be provided with a SSH account that can be accessed through the Sandbox or, if you prefer, any normal SSH program. No other software is needed.
Instructor: You will have one instructor throughout the course who will evaluate your projects and quizzes, hand them back for improvement when necessary, and coach you throughout your skills advancement.
Book: All required course materials and software are included online within the Learning Sandbox®. However, within a few weeks of enrolling, you’ll receive the e-book Learning Perl Objects, References & Modules as a reference resource from O’Reilly.
Certificates: Completion of this course counts toward the four-course Perl Programming Certificate Series.
Prerequisites: Perl 3: Advanced Perl, or equivalent skills. This course is meant for the advanced or professional Perl programmer.
Topics: Email, forms, database interaction, scraping, parsing HTML, complex data, time, objects, modules, inheritance, polymorphism, inside-out objects, Moose O-O, Comprehensive Perl Archive Network, multiprocessing, debugging, etc.
Syllabus: NOTE: This syllabus is tentative and may be changed before course release

  • Perl 4 Lesson 1 — Review
    • Perl’s packages
    • Package variables
    • Namespaces for subroutines
    • “locally”, “our” keywords
  • Perl 4 Lesson 2 — Creating reusable libraries
    • The “require” and “use” statements
    • The @INC array for finding libraries
  • Perl 4 Lesson 3 — Object-oriented programming
    • Method calls
    • Creating objects
    • The “bless” function
  • Perl 4 Lesson 4 — Higher-level O-O programming
    • Inheritance
    • Polymorphism
    • Total information security with “inside-out objects”
  • Perl 4 Lesson 5 — The Moose O-O framework
    • Rapid object class creation
  • Perl 4 Lesson 6 — Tied variables
    • Scalars
    • Arrays
    • Hashes
    • Tying hashes to a database with DB_File
  • Perl 4 Lesson 7 — Processing web page forms
    • CGI.pm
  • Perl 4 Lesson 8 — Database programming
    • Interacting with mySQL
    • DBI.pm
  • Perl 4 Lesson 9 — Sending email
    • Simple and rich mail formats
    • The SMTP protocol
    • Alternativesto the SMTP protocol
  • Perl 4 Lesson 10 — LWP and WWW::Mechanize
    • Web page scraping
    • Browser emulation
  • Perl 4 Lesson 11 — Parsing HTML
    • Parsing HTML in scraped pages with HTML::Parse
    • Automating web site interaction
  • Perl 4 Lesson 12 — Multiprocessing
    • Starting subprocesses with “fork”
    • Stopping subprocesses with “kill”
    • Interprocess communication
  • Perl 4 Lesson 13 — Date and Time
    • Date and time recognition with Date::Parse
    • Date and time calculation
    • Other processing with DateTime
  • Perl 4 Lesson 14 — CPAN.pm
    • Installing third-party modules
    • Managing third-party modules
  • Perl 4 Lesson 15 — Final Wrap-Up
    • Putting it All Together
    • Debugging running programs with the Perl debugger
    • Congratulations!