Sub#

Namespace containing the following modules:

  • Sub::Exporter

  • Sub::Identify - Ask a code reference for its name, its package and where it was defined.

  • Sub::Name - Give a sub a name: what caller, stack traces and profilers report for it.

  • Sub::Util - Names and prototypes of code references: read the name a sub was defined under, give an anonymous sub a name that stack traces, caller and profilers show, and set a sub’s prototype at run time.