${NAME} Perl-expression
Print value of expression Perl-expression each time the program stops.
${NAME} \$a # Display variable \$a each time we enter debugger ${NAME} join(', ', \@ARGV) # show values of array \@ARGV
If what you want to do is evaluate a Perl expression or statement once rather than every time the program stops, see eval.
eval
See also undisplay, enable, disable.
undisplay
enable
disable
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.