[libmonkey-patch-action-perl] 07/11: better description

Joenio Costa joenio-guest at alioth.debian.org
Tue Aug 27 17:47:49 UTC 2013


This is an automated email from the git hooks/post-receive script.

joenio-guest pushed a commit to branch master
in repository libmonkey-patch-action-perl.

commit 5f578a4b2163c3617b029ab39698dae4b72da94b
Author: Joenio Costa <joenio at colivre.coop.br>
Date:   Tue Aug 27 14:20:34 2013 -0300

    better description
---
 debian/control |   28 ++++++++--------------------
 1 file changed, 8 insertions(+), 20 deletions(-)

diff --git a/debian/control b/debian/control
index 313ca1c..5971beb 100644
--- a/debian/control
+++ b/debian/control
@@ -15,23 +15,11 @@ Package: libmonkey-patch-action-perl
 Architecture: all
 Depends: ${misc:Depends}, ${perl:Depends},
  libsub-delete-perl
-Description: Wrap/add/replace/delete subs from other package (with restore)
- Monkey-patching is the act of modifying a package at runtime: adding a
- subroutine/method, replacing/deleting/wrapping another, etc. Perl makes it
- easy to do that, for example:
- .
- # add a subroutine
- .
- *{"Target::sub1"} = sub { ... };
- .
- # another way, can be done from any file
- .
- package Target;
- .
- sub sub2 { ... }
- .
- # delete a subroutine
- .
- undef *{"Target::sub3"};
- .
- This description was automagically extracted from the module by dh-make-perl.
+Description: module to monkey-patching subs from other packages, with restore
+ Monkey patching is a way to extend or modify the runtime code of a program or
+ library without altering the original source code.
+ .
+ Monkey::Patch::Action is based on Monkey::Patch and provides lexical scope
+ monkey-patching so that you can wrap any other package's subroutine with your
+ own code. It makes things even easier by helping you apply a stack of patches
+ and unapply them later in flexible order.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmonkey-patch-action-perl.git



More information about the Pkg-perl-cvs-commits mailing list