Subject: | perl module referenced from multiple paths not merged. |
Distribution Name: Devel-Cover-0.53.tar.gz
Perl Version: 5.6.1
OS: Linux
I am not using the "t" test environment. I have a home grown test environment that accesses a perl module via a couple different paths. For example:
/my_path/tests/../lib/Utils.pm
/my_path/bin/../Utils.pm
After running my suite of tests I run the "cover" script and combine all of the coverage databases. During this process the following message is displayed:
Devel::Cover: merging data for /my_path/tests/../lib/Utils.pm into /my_path/bin/../lib/Utils.pm
However, once I view the html results it is clear that the data did not merge. I believe I found the problem. The following line in the DB.pm module:
Db.pm::line 639
my $sc = $st->$get($file);
Should be changed to