in reply to Re: Problem with XSLoader in Dumper.pm while using coverage
in thread Problem with XSLoader in Dumper.pm while using coverage

Thank you for the help but I don't understand why it mixes the Perl versions. This only happens when I set the env DEVEL_COVER_DB_FORMAT to be JSON.
  • Comment on Re^2: Problem with XSLoader in Dumper.pm while using coverage

Replies are listed 'Best First'.
Re^3: Problem with XSLoader in Dumper.pm while using coverage
by jcb (Parson) on Dec 05, 2019 at 23:29 UTC

    It probably happens because that causes Data::Dumper to be loaded for some irrelevant reason. You will need to install parallel copies of Devel::Cover with each version of perl that your tests use. If you want to combine the databases, you will probably need to install the same version of Devel::Cover with each version of perl.

    For that matter, why do you want to combine coverage results from multiple versions of perl? I could see wanting to test code with multiple versions, but then you should strive for full coverage for each version, not full coverage across all versions.