Skip Menu |

This queue is for tickets about the autodie CPAN distribution.

Report information
The Basics
Id: 38066
Status: resolved
Priority: 0/
Queue: autodie

Owner: PJF [...]
Requestors: PJF [...]

Bug Information
Severity: Normal
Broken in: 1.99
Fixed in: (no value)

Subject: system() reports incorrect line number
Download (untitled) / with headers
text/plain 625b
Using autodie qw(:system) reports the wrong line number in autodie 1.99 Eg, in the following (buggy) program: #!/usr/bin/perl -w use strict; use autodie qw(:default :system); system(qw(cp -v -r t/* ../perl/t/lib/autodie/)); __END__ the following is reported: Show quoted text
---cut here--- cp: cannot stat `t/*': No such file or directory "cp" unexpectedly returned exit value 1 at (eval 7) line 13 at /usr/lib/perl5/5.8/autodie/ line 438 ---cut here--- The references to eval and autodie/ are the guts of autodie, and should not be mentioned. The actual script where the error occured *should* be mentioned.
This is now fixed in the dev repository, and will enter the next stable release of autodie.
Fixed in 1.991

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to