break [location] [if condition]
Set a breakpoint. If location is given use the current stopping point. An optional condition may be given.
break # set a breakpoint on the current line break gcd # set a breakpoint in function gcd break gcd if $a == 1 # set a breakpoint in function gcd with # condition $a == 1 break 10 # set breakpoint on line 10
When a breakpoint is hit the event icon is xx.
xx
See also help breakpoints.
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.