libsub-identify-perl 0.14-ok1 source package in openKylin
Changelog
libsub-identify-perl (0.14-ok1) yangtze; urgency=medium * Build for openKylin. -- openKylinBot <email address hidden> Mon, 25 Apr 2022 22:03:04 +0800
libsub-identify-perl (0.14-ok1) yangtze; urgency=medium * Build for openKylin. -- openKylinBot <email address hidden> Mon, 25 Apr 2022 22:03:04 +0800
Series | Published | Component | Section |
---|
File | Size | SHA-256 Checksum |
---|---|---|
libsub-identify-perl_0.14.orig.tar.gz | 51.9 KiB | 068d272086514dd1e842b6a40b1bedbafee63900e5b08890ef6700039defad6f |
libsub-identify-perl_0.14-ok1.debian.tar.xz | 1.8 KiB | e494e3e608825fc9952d1dd7494ae7a0f0a92e2c2d870e594efe4b3b3a2f96fe |
libsub-identify-perl_0.14-ok1.dsc | 1.9 KiB | dc7ca745b9396a248a541550a94625be5a6851e202db0725855b774959ab38bd |
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.