Name : perl-Devel-Trace-Cwd
| |
Version : 0.02
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 9.72
| Date : 2024-08-05 19:29:29
|
Group : Development/Libraries/Perl
| Source RPM : perl-Devel-Trace-Cwd-0.02-9.72.src.rpm
|
Size : 0.03 MB
| |
Packager : (none)
| |
Summary : Print out each line before it is executed and track cwd changes
|
Description :
If you run your program with \'perl -d:Trace::Cwd program\', this module will print a message to standard error just before each line is executed. For example, if your program looks like this:
print \"Statement 1 at line 4\ \"; print \"Statement 2 at line 5\ \"; print \"Call to sub x returns \", &x(), \" at line 6.\ \";
exit 0;
sub x { print \"In sub x at line 12.\ \"; return 13; }
Then the \'Trace\' output will look like this:
>> ./test:4: print \"Statement 1 at line 4\ \"; >> ./test:5: print \"Statement 2 at line 5\ \"; >> ./test:6: print \"Call to sub x returns \", &x(), \" at line 6.\ \"; >> ./test:12: print \"In sub x at line 12.\ \"; >> ./test:13: return 13; >> ./test:8: exit 0;
This is something like the shell\'s \'-x\' option.
If the current working directory changes during execution that will be printed to standard error with a \'CWD:\' prefix.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-D/openSUSE_Tumbleweed/noarch |