Subject: | Possible hash randomization problems in test suite (0.05) |
With perl 5.18 and later the test suite may fail with the following error:
# Failed test 'Error in standalone script - stderr.'
# at t/Error-Pure-JSON-Advance/04-err.t line 50.
# '{"error-pure":[{"stack":[{"class":"main","line":11,"args":"('Error.')","prog":"/usr/home/eserte/.cpan/build/Error-Pure-JSON-0.05-x4zeb5/t/data/ex3.pl","sub":"err"}],"msg":["Error."]}]}
# '
# doesn't match '(?^:{"error-pure":\[{"msg":\["Error."\],"stack":\[{"sub":"err","prog":".*?t/data/ex3.pl","args":"\('Error.'\)","class":"main","line":11}\]}\]})'
This does not happen for perl <= 5.16, so it's probably caused by the new hash randomization code introduced in perl 5.18.