debug Perl-code
Recursively debug Perl-code.
The level of recursive debugging is shown in the prompt. For example ((trepan.pl)) indicates one nested level of debugging.
((trepan.pl))
debug finonacci(5) # Debug fibonacci function debug $x=1; $y=2; # Kind of pointless, but doable.
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.