An object representing a stack trace
devel_stacktrace-2.05-2-any
The Devel::StackTrace module contains two classes, Devel::StackTrace and Devel::StackTrace::Frame. These objects encapsulate the information that can retrieved via Perl's caller function, as well as providing a simple interface to this data.
The Devel::StackTrace object contains a set of Devel::StackTrace::Frame objects, one for each level of the stack. The frames contain all the data available from caller.
This code was created to support my Exception::Class::Base class (part of Exception::Class) but may be useful in other contexts.