Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-Class-Method-Modifiers-2.13-1.10 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: perl-Class-Method-Modifiers Distribution: openSUSE Tumbleweed
Version: 2.13 Vendor: openSUSE
Release: 1.10 Build date: Sun Sep 26 02:16:23 2021
Group: Development/Libraries/Perl Build host: goat09
Size: 49479 Source RPM: perl-Class-Method-Modifiers-2.13-1.10.src.rpm
Summary: Provides Moose-like method modifiers
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

'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
Term::VT102::ZeroBased for an example of subclassing with

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
Moose. See _benchmark/method_modifiers.pl_ in the Moose distribution.

'Class::Method::Modifiers' also provides an additional "modifier" type,
'fresh'; see below.




Artistic-1.0 OR GPL-1.0-or-later


* Sat Aug 10 2019 Stephan Kulow <>
  - updated to 2.13
    see /usr/share/doc/packages/perl-Class-Method-Modifiers/Changes
    2.13      2019-08-10 00:18:50Z
    - bypass prototypes when testing for lvalue attribute
    - fixed a class name in tests to avoid conflicting with a core module
* Tue Mar 08 2016
  - updated to 2.12
    see /usr/share/doc/packages/perl-Class-Method-Modifiers/Changes
    2.12      2016-03-04 22:12:15Z
    - minor documentation tweaks
* Tue Sep 16 2014
  - updated to 2.11
    - add documentation for modifying multiple methods at once (mannih,
      github #2)
* Fri Mar 07 2014
  - updated to 2.10
    - installation switched to using only ExtUtils::MakeMaker, to allow
      for use on perl 5.6
* Fri Jan 17 2014
  - updated to 2.09
    + refresh configure_requires checking in generated Makefile.PL; new
      CONTRIBUTING file; updated tests (compile test now only runs for
      authors; check-deps test replaced by information-only report-prereqs
* Mon Nov 25 2013
  - updated to 2.08
    - remove requirement on perl 5.8 in metadata
    - repository migrated to the github moose organization
    - remove t/00-check-deps.t, which fails on old toolchains that do not
      understand configure_requires
* Fri Oct 04 2013
  - updated to 2.07
    - removed dependency on Test::Warnings in tests (now reserved for
      author testing)
    - now packaged with a Build.PL (for Module::Build::Tiny), and a
      Makefile.PL (for legacy 5.6 and 5.8 users; prints a warning on
    - packaging the dist again with EUMM rather than MBT
    - Support for handling lvalue methods (Graham Knop)
    - convert to building with Dist::Zilla
* Mon Jun 03 2013
  - updated to 2.04
      Test for and fix $_ corruption (Vladimir Timofeev)
      New 'fresh' modifier (Aaron Crane)
      Avoid "Variable "$..." will not stay shared" warnings under 5.8.x
      (from changes in 1.09) [#80194] (Karen Etheridge)
* Thu Apr 19 2012
  - updated to 1.09
    - Install modified subs in the proper namespace [#74569]
      (Karen Etheridge)
* Wed Oct 26 2011
  - updated to 1.08 Sun Oct 16 2011
    - document install_modifier (requested by Tokuhiro Matsuno)



Generated by rpm2html 1.8.1

Fabrice Bellet, Mon Oct 18 23:27:06 2021