Object Oriented Programming with Perl and Moose

Moose is fast becoming the standard way to write object oriented code in Perl. Moose is powerful and flexible. It makes writing object oriented Perl far easier than it has ever been before.

This low-cost, one-day training course explains what Moose is and how it will help you write better object oriented Perl. It is aimed at programmers who know Perl but who might not have kept up to date with some of the most recent Perl tools.

By the end of the day, attendees will be understand the power of Moose and will be able to use it to build complex object systems.

Format: Lecture

Length: 1 day (approx 6 hours)

Topics

  • Introduction to Object Oriented Programming
    • What is object oriented programming
    • How does it differ from procedural programming
    • What are the advantages
  • Overview of Moose
    • Simple example using Moose
  • Object attributes
    • Defining object attributes
    • Useful properties of attributes
  • Subclasses
    • Creating subclasses
    • Overriding methods
    • Method modifiers
  • Object construction
    • Writing object constructors
    • BUILD and BUILDARGS
  • Data Types
    • The Moose type hierarchy
    • Defining your own types
    • Type coercion
  • Delegation
    • Delegating method calls
  • Roles and Traits
    • What is a role?
    • Why use a role?
    • Writing roles
    • Roles vs traits
  • Meta Object Protocol
    • Digging into your Moose classes
    • Changing your Moose classes
  • Further information
0 comments on “Object Oriented Programming with Perl and Moose
6 Pings/Trackbacks for "Object Oriented Programming with Perl and Moose"
  1. […] The third Perl School is going to be on 8th December. Like the others, it will be at Google Campus.  But this time the subject will be slightly different. The first two have been aimed at people who don’t know much Perl, but this one will be the first in a series for Perl programmers who might just not be completely up to date with the latest tools. This one is called “Object Oriented Programming with Perl and Moose”. Tickets are £30 and are available online. More details of the course are on the Perl School web site. […]

  2. […] weekend is the next Perl School. Tickets are going well, and I’ve almost got the course […]

  3. […] Object Oriented Programming with Perl and Moose […]

  4. […] Object Oriented Programming with Perl and Moose […]

  5. […] running another Perl School this Saturday (6th April). This time the subject is Object Oriented Programming with Perl and Moose. I ran a two-hour taster version of this course at the London Perl Workshop back in November, but […]

  6. […] running another Perl School this Saturday (6th April). This time the subject is Object Oriented Programming with Perl and Moose. I ran a two-hour taster version of this course at the London Perl Workshop back in November, but […]

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>