Intro to Moose
There is an additional registration fee to take this all-day class. Please be sure to select the "Intro to Moose (optional)" option when registering. Seating in this course is limited.
About the course.
Join us for an interactive hands-on course all about Moose. Moose is an OO system for Perl 5 that provides a simple declarative layer of "sugar" on top of a powerful, extensible meta-model.
With Moose, simple classes can be created without writing any subroutines, and complex classes can be simplified. Moose's features include a powerful attribute declaration system, type constraints and coercions, method modifiers ("before", "after", and "around"), a role system (like mixins on steroids), and more. Moose also has a vibrant ecosystem of extensions as seen in the variety of MooseX:: modules on CPAN.
This course will cover Moose's core features and explore some of the more powerful MooseX:: modules available on CPAN.
Students are expected to bring a laptop, as you will be writing code during the class. You will also be provided with a tarball a week or so before the class is scheduled, which will contain a directory tree skeleton and test files.
Here's some feedback from past students:
- "I thought Dave's class was outstanding. Well prepared and highly valuable content." - Chris Fedde
- "It damn sure was a good use! It would've been a huge mistake not taking your class; Moose is a magnificent beast and I couldn't have picked a better primer." - Brian Fraser
- "The class was great. There was a nice balance of material presented to hands-on experimentation, and alternating between lecture and exercises helped nail down concepts." - Philip Monsen
About the instructor.
Dave Rolsky has been a Perl developer since 1999, and has created or contributed to dozens of CPAN modules. He is a member of the Moose core development team, and in early 2009 completed a TPF grant to substantially rewrite and expand the Moose documentation. He is also the co-author of Embedding Perl in HTML with Mason and RT Essentials.