Subject: | Fails on all perls < 5.10 |
As per subject...
There was a change in the result of the list2re test between 5.8.x and
5.10.x. The test expects post 5.10 behaviour but the pre 5.10 behaviour
is just as correct.
I could not track down the change in perl that marks the change. The
change happened to a time that we cannot cover with modern
Variable::Magic, or so it seems.
I'd suggest you make the test a bit more tolerant. The output of the
verbose test tells us:
not ok 1 - list2re
# Failed test 'list2re'
# at t/01-compile.t line 9.
# got: '(?-xism:abc|bar|baz|foo|\*\*|ab|\!|\*|a)'
# expected: '(?-xism:abc|bar|baz|foo|\*\*|ab|!|\*|a)'
You see that the two regexps are semantically equal.
HTH,
Regards,