Hello Monks,
I'm using Devel::Cover to get statement coverage for my code and I have the following issue:
In system ONE I inserted 'use Devel::Cover' to all of my scripts, but in system TWO I set '-MDevel::Cover=-db....' in the environment variable PERL5OPT. As result of this I have two databases, say db_one and db_two; the issue is that if myscript.pl got executed and covered in both systems, when I merge the databases, one of the two entries gets deleted by cover because the md5 checksum differs from the file stored in the file system (due to the fact that myscript.pl has one extra line of source code in system ONE that it is not present in system TWO).
How can I remove/add that extra 'use Devel::Cover' line to one of the two databases, so cover can merge the coverage data for myscript.pl into one single entry in the database? I need this because coverage for myscript.pl is not the same in system ONE than the coverage in system TWO, and I need the combined coverage number.
Thanks!