watch Perl-expression
Stop every time Perl-expression changes from its prior value.
watch $a # enter debugger when the value of $a changes watch scalar(@ARGV)) # enter debugger if size of @ARGV changes.
delete, enable, disable, and info watch.
delete
enable
disable
info watch
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.