First page Back Continue Last page Graphics
Basic use
To trace subroutine ‘foo’
- % perl -MDebug::Trace=foo myprog.pl
TRACE: main::foo("blah") called at \
myprog.pl, line 621 package main
TRACE: main::foo() returned
To trace multiple subroutines
- % perl -MDebug::Trace=foo,bar myprog.pl
Values are formatted by Data::Dumper