Changes for version 0.05

  • Changed all documentative occurences of '$safe' to '$caller' (this should clarify its use a bit further).
  • Redid the entire implementation by using closures internally.
  • Deprecated called_from_pkg(), called_from_file() and called_from_sub(). Aliased them (typeglobs) to their more descriptive successors.
  • Fixed a bug in called_from_subroutine() which consisted of inadequate testing against a fully qualified subname that was reported by the according closure call; because of the additional indirection by calling caller() from this sub, the frame level needed to be incremented once.

Modules

A nicer interface to the built-in caller()