Package : perl-Class-Method-Modifiers > RPM : perl-Class-Method-Modifiers-2.130.0-2.mga8.src.rpm
Basic items
Name | perl-Class-Method-Modifiers |
Version | 2.130.0 |
Release | 2.mga8 |
URL | http://search.cpan.org/dist/Class-Method-Modifiers |
Group | Development/Perl |
Summary | provides Moose-like method modifiers |
Size | 47KB |
Arch | noarch |
License | GPL+ or Artistic |
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.
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.
Media information
Distribution release | Mageia 8 |
Media name | core-release |
Media arch | armv7hl |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2020-02-15 20:26:59 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |