Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Class-Method-Modifiers | Distribution: OpenMandriva Lx |
Version: 2.15 | Vendor: OpenMandriva |
Release: 1 | Build date: Sun Oct 27 17:35:23 2024 |
Group: Development/Perl | Build host: altra-5.openmandriva.org |
Size: 26618 | Source RPM: perl-Class-Method-Modifiers-2.15-1.src.rpm |
Packager: bero_massbuild <bero+massbuild@lindev.ch> | |
Url: https://metacpan.org/pod/Class::Method::Modifiers | |
Summary: Provides Moose-like method modifiers |
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.
GPL+ or Artistic
/usr/share/doc/perl-Class-Method-Modifiers /usr/share/doc/perl-Class-Method-Modifiers/Changes /usr/share/man/man3/Class::Method::Modifiers.3pm.zst /usr/share/perl5/vendor_perl/Class /usr/share/perl5/vendor_perl/Class/Method /usr/share/perl5/vendor_perl/Class/Method/Modifiers.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Mon Feb 10 23:55:33 2025