Package : perl-Role-Basic

Package details

Summary: Why Role::Basic exists

Description:
For an extended discussion, see the
http://blogs.perl.org/users/ovid/2010/12/rolebasic---when-you-only-want-rol
es.html manpage.

Sometimes you want roles. You're not sure about the Moose manpage, the
Mouse manpage, the Moo manpage and what _was_ that damned the Squirrel
manpage thing anyway? Then there's the Class::Trait manpage, but it has a
funky syntax and the maintainer's deprecated it in favor of the Moose::Role
manpage and you really don't care that it handles overloading, instance
application or has a workaround for the SUPER:: bug. You think a
meta-object protocol sounds nifty, but you don't understand it. Maybe
you're not sure you want the syntactic sugar for object declaration. Maybe
you've convinced your colleagues that roles are a good idea but they're
leery of dragging in Moose (your author has had this happen more than once
and heard of others making the same complaint). Sometimes you just want
good old-fashioned roles which let you separate class responsibility from
code reuse.

Whatever your reasons, this is the module you're looking for. It only
provides roles and its major design goals are safety and simplicity. It
also aims to be a _subset_ of the Moose::Role manpage behavior so that
when/if you're ready to upgrade, there will be minimal pain.


URL: http://search.cpan.org/dist/Role-Basic
License: GPL+ or Artistic

Maintainer: nobody

List of RPMs