libsub-identify-perl 0.04-1build1 source package in Ubuntu
Changelog
libsub-identify-perl (0.04-1build1) oneiric; urgency=low * Rebuild for Perl 5.12. -- Colin Watson <email address hidden> Sun, 08 May 2011 13:29:57 +0100
Upload details
- Uploaded by:
- Colin Watson
- Uploaded to:
- Oneiric
- Original maintainer:
- Debian Perl Group
- Architectures:
- any
- Section:
- perl
- Urgency:
- Low Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libsub-identify-perl_0.04.orig.tar.gz | 41.5 KiB | be4bb6b894af405e8031139fdd30cd34e7389cde13602d4b80b040b2ea6ce499 |
libsub-identify-perl_0.04-1build1.diff.gz | 1.9 KiB | 9101b456f8ba881bc4720910bda8cc20a5556a70e81e208169da749184796127 |
libsub-identify-perl_0.04-1build1.dsc | 2.1 KiB | da381e14822a7f8ef82fb2b94d72efb537e17872adfa035354e705c4668ad5b3 |
Available diffs
- diff from 0.04-1 to 0.04-1build1 (303 bytes)
Binary packages built by this source
- libsub-identify-perl: Retrieve names of code references
Sub::Identify allows you to retrieve the real name of code references. For
this, it uses perl's introspection mechanism, provided by the B module.
.
It provides four functions : sub_name returns the name of the
subroutine (or __ANON__ if it's an anonymous code reference),
stash_name returns its package, and sub_fullname returns the
concatenation of the two.
.
The fourth function, get_code_info, returns a list of two elements,
the package and the subroutine name (in case of you want both and are worried
by the speed.)
.
In case of subroutine aliasing, those functions always return the
original name.