./devel/p5-Class-Method-Modifiers, Perl module providing Moose-like method modifiers

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.15nb1, Package name: p5-Class-Method-Modifiers-2.15nb1, Maintainer: pkgsrc-users

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.


Required to run:
[lang/perl5]

Required to build:
[devel/p5-Test-Requires] [devel/p5-Test-Fatal] [pkgtools/cwrappers]

Master sites: (Expand)

Filesize: 40.202 KB

Version history: (Expand)


CVS history: (Expand)


   2023-07-06 11:43:03 by Thomas Klausner | Files touched by this commit (2483)
Log message:
*: recursive bump for perl 5.38
   2023-05-20 09:12:00 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Class-Method-Modifiers: update to 2.15.

2.15      2023-03-05 23:42:48Z
        - localize $SIG{__DIE__} before calling eval (closes RT#146848; Yves
          Orton)

2.14      2023-01-16 21:26:04Z
        - remove Test::Fatal and Test::Needs from test prereqs (PRs #7, #8,
          Graham Knop)
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-05-24 21:56:06 by Thomas Klausner | Files touched by this commit (3575)
Log message:
*: recursive bump for perl 5.34
   2020-08-31 20:13:29 by Thomas Klausner | Files touched by this commit (3631)
Log message:
*: bump PKGREVISION for perl-5.32.
   2019-10-13 13:03:28 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/p5-Class-Method-Modifier) Updated 2.12 to 2.13

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