perl-Class-Method-Modifiers - provides Moose-like method modifiers

Property Value
Distribution ALT Linux Sisyphus
Repository Classic noarch
Package filename perl-Class-Method-Modifiers-2.13-alt1.noarch.rpm
Package name perl-Class-Method-Modifiers
Package version 2.13
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 43.15 KB
Installed size 43.15 KB
Method modifiers are a convenient 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.
One clear benefit of using `Class::Method::Modifiers' is that you can define
multiple modifiers in a single namespace. These separate modifiers don't need to
know about each other. This makes top-down design easy. Have a base class that
provides the skeleton methods of each operation, and have plugins modify those
methods to flesh out the specifics.
Parent classes need not know about `Class::Method::Modifiers'. This means you
should be able to modify methods in *any* subclass. See the
Term::VT102::ZeroBased manpage for an example of subclassing with CMM.
In short, `Class::Method::Modifiers' solves the problem of making sure you call
`$self->SUPER::foo(@_)', and provides a cleaner interface for it.
As of version 1.00, `Class::Method::Modifiers' is faster in some cases than the
Moose manpage. See `benchmark/' in the the Moose manpage


Package Version Architecture Repository
perl-Class-Method-Modifiers - - -


Name Value
/usr/share/perl5 -
perl( -
perl( -
rpmlib(PayloadIsLzma) -


Name Value
perl(Class/Method/ = 2.130
perl-Class-Method-Modifiers = 2.13-alt1:sisyphus+236147.100.1.1


Type URL
Binary Package perl-Class-Method-Modifiers-2.13-alt1.noarch.rpm
Source Package perl-Class-Method-Modifiers-2.13-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch classic
    rpm [Sisyphus] noarch classic
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Class-Method-Modifiers rpm package:
    # sudo apt-get install perl-Class-Method-Modifiers




2019-08-15 - Igor Vlasenko <> 2.13-alt1
- automated CPAN update
2016-03-19 - Igor Vlasenko <> 2.12-alt1
- automated CPAN update
2014-08-19 - Igor Vlasenko <> 2.11-alt1
- automated CPAN update
2014-03-05 - Igor Vlasenko <> 2.10-alt1
- automated CPAN update
2013-10-11 - Igor Vlasenko <> 2.08-alt1
- automated CPAN update
2013-09-24 - Igor Vlasenko <> 2.07-alt1
- automated CPAN update
2013-06-13 - Vladimir Lettiev <> 2.04-alt1
- 1.09 -> 2.04
2012-04-12 - Vladimir Lettiev <> 1.09-alt1
- 1.06 -> 1.09
2011-01-01 - Denis Smirnov <> 1.06-alt1
- initial build for ALT Linux Sisyphus

See Also

Package Description
perl-Class-Mix-0.006-alt1_3.noarch.rpm Dynamic class mixing
perl-Class-Refresh-0.07-alt1.noarch.rpm refresh your classes during runtime
perl-Class-ReturnValue-0.55-alt2.1.noarch.rpm Class-ReturnValue - A smart return value object
perl-Class-Singleton-1.5-alt1.noarch.rpm Implementation of a "Singleton" class
perl-Class-StateMachine-0.24-alt1.noarch.rpm Define classes for state machines
perl-Class-Std-0.013-alt1.noarch.rpm Perl module for creating standard "inside-out" classes
perl-Class-Std-Fast-0.0.8-alt1.1.noarch.rpm Perl module that provides a faster but less secure version of Class::Std
perl-Class-Throwable-0.13-alt1.noarch.rpm A minimal lightweight exception class
perl-Class-Tiny-1.006-alt1.noarch.rpm Minimalist class construction
perl-Class-Trigger-0.14-alt3.noarch.rpm Mixin to add / call inheritable triggers
perl-Class-Unload-0.11-alt1.noarch.rpm Unload a class
perl-Class-Virtual-0.08-alt1.noarch.rpm perl module Class-Virtual
perl-Class-WhiteHole-0.04-alt2.noarch.rpm Base class to treat unhandled method calls as errors
perl-Clipboard-0.20-alt1.noarch.rpm Cliboard - Copy and Paste with any OS
perl-Clipboard-scripts-0.20-alt1.noarch.rpm perl-Clipboard scripts