# This line does nothing. It is a comment and is useful # in debugger command files. # any amount of leading space is also ok
The following runs two commands: info program and list
info program
list
info program;; list
The following gives a syntax error since ;; splits the line and the simple debugger parse then thinks that the quote (") is not closed.
;;
print "hi ;;-)\n"
If you have the Devel::Trepan::Shell plugin, you can go into a real shell and run the above.
If you want to continue a command on the next line use \ at the end of the line. For example:
\
eval $x = "This is \ a multi-line string"
The string in variable $x will have a \n before the article "a".
$x
\n
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.