The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Synopsis:

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.

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.