action position Perl-statement
Set an action to be done before the line is executed. If line is ., set an action on the line about to be executed. The sequence of steps taken by the debugger is:
.
For example, this will print out the value of $foo every time line 53 is passed:
$foo
action 53 print "DB FOUND $foo\n"
help breakpoints
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.