./devel/p5-Class-Method-Modifiers [provides Moose-like method modifiers]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 2.12, Package name: p5-Class-Method-Modifiers-2.12
Maintained by: Sergey Bronnikov
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: 38.065 KB
Version History (View Complete History)
  • (2017-03-13) Updated to version: p5-Class-Method-Modifiers-2.12
  • (2014-11-06) Updated to version: p5-Class-Method-Modifiers-2.11
  • (2014-04-05) Updated to version: p5-Class-Method-Modifiers-2.10
  • (2012-04-23) Package deleted from Ports
  • (2009-06-25) Updated to version: p5-Class-Method-Modifiers-1.04
  • (2008-08-21) Package added to openports.se, version p5-Class-Method-Modifiers-1.01 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   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
   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.
   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
   2009-06-24 12:45:51 by Simon Bertrang | Files touched by this commit (3)
Log message:
update to version 1.04
   2009-06-24 12:45:51 by Simon Bertrang | Files touched by this commit (3)
Log message:
update to version 1.04