Horizontal Code Reuse with Moose::Role

By Stevan Little (‎stevan‎)
Date: Sunday, October 14, 2007 01:30 PM
Duration: 20 minutes
Target audience: 1
Language:


Roles are a new way of looking at code-reuse which is more
grainular then classes but safer then traditional mix-ins.
Roles are based on Smalltalk Traits and are a major part
of Perl 6, but you can start using them right now in Perl 5
with Moose. In this talk we take you beyond the contrived
examples and talk about real world problems and how roles
can be leveraged to provide more flexible and re-useable
solutions.

Copyright © 2007 Pittsburgh Perl Mongers. Mast photo by whobee@flickr.