Name : perl-Devel-LineTrace
| |
Version : 0.1.12
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2023-07-20 19:32:28
|
Group : Development/Libraries/Perl
| Source RPM : perl-Devel-LineTrace-0.1.12-lp155.1.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : Apply traces to individual lines
|
Description :
This is a class that enables assigning Perl code callbacks to certain lines in the original code *without modifying it*.
To do so prepare a file with the following syntax:
[source_filename]:[line] [CODE] [CODE] [CODE] [source_filename]:[line] [CODE] [CODE] [CODE]
Which will assign the [CODE] blocks to the filename and line combinations. The [CODE] sections are indented from the main blocks. To temporarily cancel a callback put a pound-sign (#) right at the start of the line (without whitespace beforehand).
The location of the file should be specified by the PERL5DB_LT environment variable (or else it defaults to \'perl-line-traces.txt\'.)
Then invoke the perl interpreter like this:
perl -d:LineTrace myprogram.pl
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-D/15.5/noarch |