lenny  ] [  squeeze  ] [  sid  ]
[ Source: libsub-identify-perl  ]

Package: libsub-identify-perl (0.04-1)

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.

Tags: Software Development: Perl Development, Libraries, Implemented in: C, Perl, Role: Shared Library

Other Packages Related to libsub-identify-perl

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.7-1) [not ia64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
  • dep: libc6.1 (>= 2.7-1) [ia64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6.1-udeb
  • dep: perl (>= 5.10.0-18)
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.10.0
    virtual package provided by perl-base

Download libsub-identify-perl

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 10.1 kB88 kB [list of files]
armel 9.8 kB84 kB [list of files]
hppa 10.7 kB88 kB [list of files]
i386 9.9 kB84 kB [list of files]
ia64 11.5 kB92 kB [list of files]
mips 10.0 kB88 kB [list of files]
mipsel 10.0 kB88 kB [list of files]
powerpc 12.4 kB92 kB [list of files]
s390 10.2 kB84 kB [list of files]
sparc 10.0 kB84 kB [list of files]