Perl’s system for object-orientation is powerful, turning over control of
nearly everything to the programmer. It abides by Perl’s motto, “There’s more
than one way to do it!” The Moose philosophy agrees, but pencils in its own
amendment, “There is more than one way to do it, but sometimes consistency is
not a bad thing either.” By establishing a common system for building classes,
Moose enables new levels of code reuse, allowing you to improve your code with
features that would otherwise be too complex or expensive to implement on your
Although its compact, declarative look can seem perplexing at first glance,
Moose is just Perl, and can be easily explained, learned, understood, and put
to use. This tutorial will cover all of Moose’s basic features, including
attributes, subclassing, method modifiers, roles, and types.
QUESTIONS for the speaker?: Use the “Leave a Comment or Question” section at the bottom to address them.
Ricardo Signes was thrust into the job market with only a rudimentary humanities education, and was forced to learn to fend for himself. He is now a full-time Perl programmer, the project manager for Perl 5, and frequent contributor to the CPAN.
For exhibition and sponsorship opportunities, contact Sharon Cordesse at firstname.lastname@example.org
For information on trade opportunities with O'Reilly conferences contact email@example.com
For media-related inquiries, contact Maureen Jennings at firstname.lastname@example.org
View a complete list of OSCON contacts