Provides Moose-like method modifiers
64.71 KB
built 2026-10-16 17:30:59 GMT
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.
Dependencies
19 totalRequires18
- coreutils
- findutils
- make
- perl(B)
- perl(CPAN::Meta) >= 2.120900
- perl(Carp)
- perl(Exporter)
- perl(ExtUtils::MakeMaker)
- perl(File::Spec)
- perl(Test::More) >= 0.88
- perl(base)
- perl(if)
- perl(strict)
- perl(warnings)
- perl-generators
- perl-interpreter
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- perl-Class-Method-Modifiers = 2.15-9.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| Class-Method-Modifiers-2.15.tar.gz | 40.20 KB |
| perl-Class-Method-Modifiers.spec | 12.54 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
