libsub-identify-perl 0.14-ok2 source package in openKylin
Changelog
libsub-identify-perl (0.14-ok2) yangtze; urgency=medium * Modify debian/control. -- denghao <email address hidden> Fri, 16 Sep 2022 04:30:29 +0300
libsub-identify-perl (0.14-ok2) yangtze; urgency=medium * Modify debian/control. -- denghao <email address hidden> Fri, 16 Sep 2022 04:30:29 +0300
Series | Published | Component | Section | |
---|---|---|---|---|
Yangtze V1.0 | release | main | perl | |
Yangtze V1.0 | proposed | main | perl |
File | Size | SHA-256 Checksum |
---|---|---|
libsub-identify-perl_0.14.orig.tar.gz | 51.9 KiB | 068d272086514dd1e842b6a40b1bedbafee63900e5b08890ef6700039defad6f |
libsub-identify-perl_0.14-ok2.debian.tar.xz | 1.9 KiB | a710ea9adfde77bf2e368988f21ceb9edb7da470995ef6b2c846392d1c9703b8 |
libsub-identify-perl_0.14-ok2.dsc | 1.8 KiB | 25edc042f045ca1402a0ab5a73cf65dfa098ebc20d704c51f408f9dd332d74f1 |
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.