MooseX::Declare, the lovable Perl
By Nick Melnick (oZ) from Minneapolis.pm
Date: Saturday, February 5, 2011 04:00 PM
Duration: 20 minutes
Target audience: Intermediate/Advanced
Language:
Tags: moose moosex::declare oo perl6
There may be a few people, versed in other object oriented languages, who stare longingly at Perl 6 class syntax -- but don't want to switch over to Rakudo yet. There's hope, though, as MooseX::Declare provides a nice, declarative syntax for Perl 5 without source filters. You get the added benefit of reasonable method signatures and type safety with very little code.
This 20-minute talk aims to give a quick introduction to MooseX::Declare, comparing it to nearby languages, and how it can make your code a little cleaner and easier to manage. Some basic familiarity with Moose is assumed, but even without it, it should be easy to grok.
