Bug#340606: ITP: libsub-name-perl -- Assigns a new name to referenced sub
Package: wnpp
Severity: wishlist
Owner: "Krzysztof Krzyzaniak (eloy)" <eloy@debian.org>
* Package name : libsub-name-perl
Version : 0.02
Upstream Author : Matthijs van Duin <xmath@cpan.org>
* URL : http://search.cpan.org/~xmath/Sub-Name-0.02/
* License : Perl: GPL/Artistic
Description : Assigns a new name to referenced sub
This module has only one function, which is also exported by default:
.
subname NAME, CODEREF
.
Assigns a new name to referenced sub. If package specification is
omitted in the name, then the current package is used. The return
value is the sub.
.
The name is only used for informative routines (caller, Carp, etc).
You won't be able to actually invoke the sub by the given name. To
allow that, you need to do glob-assignment yourself.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Reply to: