You are here: Home / LBN / Up2date / Core Linux / BastionLinux 25 / perl-Class-Method-Modifiers-2.12-12.lbn25.noarch

perl-Class-Method-Modifiers-2.12-12.lbn25.noarch

Package Attributes
RPM  perl-Class-Method-Modifiers-2.12-12.lbn25.noarch.rpm Architecture  noarch Size  103018 Created  2023/06/18 04:31:53 UTC
Package Specification
Summary Provides Moose-like method modifiers
Group Unspecified
License GPL+ or Artistic
Home Page https://metacpan.org/release/Class-Method-Modifiers
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.

Requires
perl(B)  
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
rpmlib(CompressedFileNames)  
rpmlib(PayloadIsXz)  
Provides
perl(Class::Method::Modifiers)
perl-Class-Method-Modifiers

Document Actions