Version: 2.13, Package name: p5-Class-Method-Modifiers-2.13 |
Maintained by: The OpenBSD ports mailing-list |
Master sites:
|
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(@_). 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. One clear benefit of using Class::Method::Modifiers is that you can define multiple modifiers in a single namespace. These separate modifiers don't need to know about each other. This makes top-down design easy. Have a base class that provides the skeleton methods of each operation, and have plugins modify those methods to flesh out the specifics. In short, Class::Method::Modifiers solves the problem of making sure you call $self->SUPER::foo(@_), and provides a cleaner interface for it. |
Filesize: 40.415 KB |
Version History (View Complete History) |
|
2020-07-03 15:46:09 by Stuart Henderson | Files touched by this commit (1723) |
Log message: bump for search.cpan.org->metacpan.org change |
2020-04-25 12:36:39 by Andrew Fresh | Files touched by this commit (4) |
Log message: Add some FIX_EXTRACT_PERMISSIONS |
2020-02-10 08:30:24 by Benoit Lecocq | Files touched by this commit (2) |
Log message: Update to p5-Class-Method-Modifiers-2.13. |
2019-07-12 14:45:17 by Stuart Henderson | Files touched by this commit (859) |
Log message: replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes |
2019-05-08 15:36:07 by Daniel Jakots | Files touched by this commit (14) |
Log message: Remove maintainer per their request |
2017-03-13 10:26:44 by Alexander Bluhm | Files touched by this commit (2) |
Log message: update p5-Class-Method-Modifiers to 2.12 from maintainer Sergey Bronnikov |
2016-03-20 13:57:24 by Christian Weisgerber | Files touched by this commit (1617) |
Log message: Remove SHARED_ONLY from all CPAN Perl ports and the cpan and perl MODULES. Add WANTLIB+=perl and PKG_ARCH=* as appropriate. |
2014-11-06 07:26:14 by Benoit Lecocq | Files touched by this commit (2) |
Log message: Maintainer update to p5-Class-Method-Modifiers-2.11, from Sergey Bronnikov. |
2011-04-13 11:44:37 by Jasper Lievisse Adriaanse | Files touched by this commit (4) |
Log message: use modinst CONFIGURE_STYLE, instead of passing --skipdeps from gleydson soares |
2010-12-03 04:44:38 by Antoine Jacoutot | Files touched by this commit (627) |
Log message: Bump after recent cpan.port.mk change. ok jasper@ |
2010-11-15 12:46:10 by Marc Espie | Files touched by this commit (706) |
Log message: move depends to new style |
2010-10-18 11:48:13 by Marc Espie | Files touched by this commit (650) |
Log message: USE_GROFF=Yes |
2009-06-24 12:45:51 by Simon Bertrang | Files touched by this commit (3) |
Log message: update to version 1.04 |