[Bug 461386] New: Review Request: perl-Class-Method-Modifiers - Provides Moose-like method modifiers

bugzilla at redhat.com bugzilla at redhat.com
Sun Sep 7 04:02:36 UTC 2008


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-Class-Method-Modifiers - Provides Moose-like method modifiers

https://bugzilla.redhat.com/show_bug.cgi?id=461386

           Summary: Review Request: perl-Class-Method-Modifiers - Provides
                    Moose-like method modifiers
           Product: Fedora
           Version: rawhide
          Platform: All
               URL: http://search.cpan.org/dist/Class-Method-Modifiers
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: medium
         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



SRPM URL:
http://fedora.biggerontheinside.net/review/perl-Class-Method-Modifiers-1.01-1.fc9.src.rpm
SPEC URL:
http://fedora.biggerontheinside.net/review/perl-Class-Method-Modifiers.spec

Description:
Method modifiers are a powerful feature from the CLOS (Common Lisp Object
System) world.

In its most basic form, a method modifier is just a method that calls
'$self->SUPER::foo(@_)'. I for one have trouble remembering that exact
invocation, so my classes seldom re-dispatch to their base classes. Very
bad!

'Class::Method::Modifiers' provides three modifiers: 'before', 'around',
and 'after'. 'before' and 'after' are run just before and after the method
they modify, but can not really affect that original method. 'around' is
run in place of the original method, with a hook to easily call that
original method. See the 'MODIFIERS' section for more details on how the
particular modifiers work.

-- 
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