[Bug 479732] New: Review Request: perl-MooseX-Role-Parameterized - parameterized roles
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jan 12 19:07:01 UTC 2009
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Review Request: perl-MooseX-Role-Parameterized - parameterized roles
https://bugzilla.redhat.com/show_bug.cgi?id=479732
Summary: Review Request: perl-MooseX-Role-Parameterized -
parameterized roles
Product: Fedora
Version: rawhide
Platform: All
URL: http://search.cpan.org/dist/MooseX-Role-Parameterized
OS/Version: Linux
Status: NEW
Severity: medium
Priority: low
Component: Package Review
AssignedTo: nobody at fedoraproject.org
ReportedBy: cweyl at alumni.drew.edu
QAContact: extras-qa at fedoraproject.org
CC: notting at redhat.com, fedora-package-review at redhat.com
Estimated Hours: 0.0
Classification: Fedora
Spec URL:
http://fedorapeople.org/~cweyl/review/perl-MooseX-Role-Parameterized.spec
SRPM URL:
http://fedorapeople.org/~cweyl/review/perl-MooseX-Role-Parameterized-0.02-1.fc10.src.rpm
Description:
Roles are composable units of behavior. They are useful for factoring out
functionality common to many classes from any part of your class hierarchy.
(See Moose::Cookbook::Roles::Recipe1 for an introduction to Moose::Role.)
While combining roles affords you a great deal of flexibility, individual
roles have very little in the way of configurability. Core Moose provides
alias for renaming methods to avoid conflicts, and excludes for ignoring
methods you don't want or need (see Moose::Cookbook::Roles::Recipe2 for more
about alias and excludes).
Because roles serve many different masters, they usually provide only the
least common denominator of functionality. To empower roles further, more
configurability than alias and excludes is required. Perhaps your role needs
to know which method to call when it is done. Or what default value to use for
its url attribute.
Parameterized roles offer exactly this solution.
Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=1047503
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Fedora-package-review
mailing list