Advanced Perl Techniques

Course Description

This 2-day course introduces you to the latest advanced Perl techniques used by the world’s best Perl programmers. If you want to ensure that you are completely up to date on the latest Perl tools, then this is the course for you. This course discusses both the latest CPAN modules and the new features added to recent versions of the core Perl distribution. If you still write Perl as you have done for ten years then there is a lot you have missed out on and this course will quickly get you up to speed.

Because of the up to date nature of this course, the course topics are subject to change.

Intended Audience

This course is aimed at people who have been using Perl for a while but who have not manged to keep completely up to date with the latest Perl tools. Attendees on this course should be familiar with concepts just as references, modules and objects. If you have been on our Intermediate Perl course or something similar then you will have all the knowledge you need.

Key Skills

After completing this course you will be able to:

  • Explain and use new features from the latest versions of Perl
  • Handle exceptions in your code elegantly
  • Profile and benchmark your code accurately
  • Use Modern Perl tools like DBIx::Class, Moose, Catalyst and PSGI/Plack

Course Outline

  1. Modern Core Perl
    • Perl’s release cycle
    • What was new in Perl 5.10, 5.12 and 5.14
    • What is coming in Perl 5.16
  2. Advanced Testing
    • Writing test modules
    • Mocking objects
    • Test coverage
  3. Object Relational Mapping
    • What is ORM?
    • ORM on CPAN
    • Introduction to DBIx::Class
  4. Exception Handling
    • Why handle exceptions?
    • Basic exception handling
    • Exceptions as objects
    • TryCatch and Try::Tiny
    • Automatic exceptions with autodie
  5. Benchmarking and Profiling
    • Why benchmark?
    • Benchmarking in Perl
    • Why profile?
    • Profiling in Perl
  6. Moose
    • What is Moose?
    • Moose example
    • Advanced Moose
  7. Catalyst
    • MVC frameworks
    • Simple Catalyst application
    • Easier Catalyst
  8. PSGI/Plack
    • What are PSGI and Plack?
    • The PSGI specification
    • Sample PSGI applications
    • Plack tools
  9. Further Information
    • Books
    • Web sites
    • Mailing lists
    • The Perl community
Dave Cross

Dave Cross

Course Instructor

Dave Cross is a well known and much respected Perl author, instructor and consultant.

In 1998 Dave started which has grown to be one of the largest Perl Mongers groups in the world.

He nominally led the group until September 2001. Between August 2002 and June 2006 he was the Perl Mongers User Groups Co-ordinator for the Perl Foundation.

Dave is a regular speaker at Perl and Open Source conferences and is often invited to present tutorials alongside the main conference.

He is the author of "Data Munging with Perl" (Manning, 2001) and a co-author of "Perl Template Toolkit" (O'Reilly, 2003).