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 ammendment, “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 own.
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.
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, frequent contributor to the CPAN, and pumpking for the Perl programming language.
For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at (707) 827-7065 or firstname.lastname@example.org.
View a complete list of OSCON contacts