r42402 - in /trunk/libsub-wrappackages-perl/debian: changelog control
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sat Aug 22 01:55:27 UTC 2009
Author: jawnsy-guest
Date: Sat Aug 22 01:55:21 2009
New Revision: 42402
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=42402
Log:
Shortened description significantly, if people need this info they
should probably read the perldoc
Modified:
trunk/libsub-wrappackages-perl/debian/changelog
trunk/libsub-wrappackages-perl/debian/control
Modified: trunk/libsub-wrappackages-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsub-wrappackages-perl/debian/changelog?rev=42402&op=diff
==============================================================================
--- trunk/libsub-wrappackages-perl/debian/changelog (original)
+++ trunk/libsub-wrappackages-perl/debian/changelog Sat Aug 22 01:55:21 2009
@@ -4,13 +4,14 @@
* New upstream release
+ Defer wrapping of modules that aren't yet loaded
* Standards-Version 3.8.3 (no changes)
- * Rewrote description a bit
* Remove version dependency on libhook-lexwrap-perl (oldest version
in Debian is 0.20)
* Added myself to Uploaders and Copyright
* Updated copyright file
* Bump debhelper requirement to 7 (and compat)
* Change to new shorter rules format
+ * Shortened description significantly, if people need this info they
+ should probably read the perldoc
[ gregor herrmann ]
* debian/control: Changed: Switched Vcs-Browser field to ViewSVN
Modified: trunk/libsub-wrappackages-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsub-wrappackages-perl/debian/control?rev=42402&op=diff
==============================================================================
--- trunk/libsub-wrappackages-perl/debian/control (original)
+++ trunk/libsub-wrappackages-perl/debian/control Sat Aug 22 01:55:21 2009
@@ -15,16 +15,7 @@
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends}, libhook-lexwrap-perl
Description: Perl module to wrap subroutines in packages
- Sub::WrapPackages is mostly a wrapper around Damian Conway's Hook::LexWrap
- module. The differences are:
- .
- * We donât export a wrap() function, instead preferring to do all the magic
- when you "use" this module. We wrap named subroutines, no references.
- * Any subroutine mentioned in the "subs" parameter will be wrapped. Any
- packages mentioned in the "packages" parameter will have all their
- subroutines wrapped.
- * In conjunction with the "packages" arrayref, this wraps all calls to
- inherited methods made through those packages. If you call those methods
- directly in the superclass then they are not affected.
- * Your pre-wrapper will be passed the wrapped subroutineâs name, and all the
- parameters to be passed to it.
+ Sub::WrapPackages is a Perl module that can add pre- and post-execution code
+ wrappers around some given subroutines. It is mostly a wrapper around Damian
+ Conwway's Hook::LexWrap module. Instead of exporting a wrap function, magic
+ happens when you load the module via the "use" keyword.
More information about the Pkg-perl-cvs-commits
mailing list