On Wed Feb 18 08:53:11 2015, gjtunley@gmail.com wrote:
Show quoted text> Not sure if this should be raised against Test::Differences or
> Data::Dumper - so raising here first as I see the issue in this module.
>
> I am using eq_or_diff to compare a generated XML with an expected XML
> and am having issues with version 0.62 and Data::Dumper 2.154
>
> The issue appears to be around line 418 of Test::Differences:
>
> local $Data::Dumper::Useperl = 1;
>
> With this line in I get output like ...
If you've got that line of code you're using 0.63, not 0.62. It was introduced as part of the fix for
https://rt.cpan.org/Ticket/Display.html?id=95446.
Specifically these two commits:
https://github.com/Ovid/Test-Differences/commit/695e3ed
https://github.com/Ovid/Test-Differences/commit/48300c2
The '$Useperl = 1' is to work around a bug in some older perls, so I suppose I could frob things to only turn that on if the bug is detected.
BTW, the canonical bug tracker is now on Github, so to avoid duplication and confusion I'll close this ticket and open one there:
https://github.com/Ovid/Test-Differences/issues/7