The following "public" global names can be read by clients of this API. Beware that these should be considered "readonly".
Name of current executing subroutine.
The keys of this hash are the names of all the known subroutines. Each value is an encoded string that has the sprintf(3) format ("%s:%d-%d", filename, fromline, toline).
("%s:%d-%d", filename, fromline, toline)
This hash is maintained by Perl. filename has the form (eval 34) for subroutines defined inside evals.
Single-step flag. Will be true if the API will stop at the next statement.
Signal flag. Will be set to a true value if a signal was caught. Clients may check for this flag to abort time-consuming operations.
This flag is set to true if the API is tracing through subroutine calls.
Contains the arguments of current subroutine, or the @ARGV array if in the toplevel context.
@ARGV
List of lines in currently loaded file.
Actions in current file (keys are line numbers). The values are strings that have the sprintf(3) format ("%s\000%s", breakcondition, actioncode).
("%s\000%s", breakcondition, actioncode)
Package namespace of currently executing code.
Currently loaded filename.
Fully qualified name of currently executing subroutine.
Line number that will be executed next.
To install Devel::Trepan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::Trepan
CPAN shell
perl -MCPAN -e shell install Devel::Trepan
For more information on module installation, please visit the detailed CPAN module installation guide.