Moose is Perl: A Guide to the New Revolution

Location: Portland 256
Average rating: ****.
(4.12, 16 ratings)

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.

Photo of Ricardo Signes

Ricardo Signes

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, project lead on perl itself, and frequent contributor to the CPAN.

Comments on this page are now closed.


Picture of Ricardo Signes
Ricardo Signes
07/31/2011 10:41pm PDT

I’m open to and interested in the idea of making this a full day tutorial, and will give some thought to how I’d add hands-on work. As the talk stands now, adding workshop material would be difficult, as the talk is not structured for those sorts of breaks, and would fall apart. I’ll have to think about how we might add workshop material: either entirely in a second half, or by restructuring everything.

brian d foy
07/28/2011 8:23am PDT

I’d like to see this tutorial expanded to a full day and have time for a little hands-on work from the audience.

Picture of Ricardo Signes
Ricardo Signes
07/28/2011 2:40am PDT
Gene Dascher
07/28/2011 2:37am PDT

Did you have a set of slides from your presentation that you care to share with those of us who were attending other presentations but are interested in this topic?

John Scaglione
07/27/2011 4:35am PDT

excellent session covering all i need to get started with moose. Ricardo was engaging and interesting through the whole long session. Some hands on exercises would have been nice.

Tony Pisarenkov
07/25/2011 12:00pm PDT

It would have been nice to have some hands-on exercises (perhaps at the expense of coverage of the more arcane aspects of Moose), but otherwise excellent. Thank you!

Picture of Ricardo Signes
Ricardo Signes
06/03/2011 9:03am PDT

Hi. This is my talk. I will be presenting it, and you will be attending. If you want to know why, just ask.