1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/devel/p5-Sub-Name/pkg-descr
2005-11-27 14:54:40 +00:00

10 lines
452 B
Plaintext

The subname() function exported by this module allows one to assign new
names to Perl subroutine. This is different from glob-assignment, since
the name is only used for informational purposes (caller, Carp, etc.).
Note that for anonymous closures (subs that reference lexicals declared
outside the sub itself) one can name each instance of the closure
differently, which can be very useful for debugging.
WWW: http://search.cpan.org/dist/Sub-Name/