Next | Tricks of the Wizards | 184 |
Lots of functions for haruspication
See perldebguts (or perldebug) for fullest details
@{"::_<foo.pl"} contains the source code of foo.pl
%{"::_<foo.pl"} contains breakpoints and actions
%DB::sub contains subroutine start-end information
DB::DB() is called before each executed line
caller() returns current package, filename, line as usual, also sets @DB::args
Next | Copyright © 2003 M. J. Dominus |