[EMAIL PROTECTED] wrote: [...]
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00_basic........ # Failed test (t/00_basic.t at line 328) # Comparing hash keys of $data->[0] # Missing: 'z\d' # Extra: 'z\\d'
This is strange. The code looks like this:
cmp_deeply( Regexp::Assemble::_unrev_path(
[
qw[ ab cd ef ],
{
x1 => [qw[x1 y2 z\\d]],
mx => [qw[mx us ca]]
}
], 0, 0 ),
[
{
'z\\d' => [qw[z\\d y2 x1]],
ca => [qw[ca us mx]]
},
qw[ef cd ab]], 'path(node)' );In other words, the code is performing a order reversal. The order in which elements occur in an array are reversed. For a hash of arrays, the array is reversed, and the key is the same as the value of the zeroth element of the now reverse-ordered array. And so on, recursively.
It looks like a doubled backslash is being de-escaped somewhere along the line. Has anyone encountered something like this before? This is the so-called notorious 5.6.0 release after all.
Thanks, David
