load source {Perl-source-file}
Read source lines of {Perl-source-file}.
This simulates what Perl does in reading a file when debugging is turned on, somewhat. A description of what this means is below.
The file contents are read in as a list of strings in _<$filename for the debugger to refer to; $filename contains the name Perl-source-file. In addition, each entry of this list is a dual variable. In a non-numeric context, an entry is a string of the line contents including the trailing \n.
\n
But in numeric context, an entry of the list is true if that line is traceable or has a COP instruction in it which allows the debugger to take control.
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.