Subject: | Test fails with perl 5.21.4 and later |
t/output.t fails:
# Failed test 'simple addition: pc 1+3'
# at t/output.t line 33.
# got: '1'
# expected: '0'
# Different in line: 1: got (Constant subroutine main::NaN redefined at (eval 5) line 1.), expect ()
# Failed test 'bigrat: pc 1/4+1/5'
# at t/output.t line 33.
# got: '1'
# expected: '0'
# Different in line: 1: got (Constant subroutine main::NaN redefined at (eval 5) line 1.), expect ()
# Failed test 'power of 2 units: pc 1m'
# at t/output.t line 33.
# got: '1'
# expected: '0'
# Different in line: 1: got (Constant subroutine main::NaN redefined at (eval 5) line 1.), expect ()
# Failed test 'comma output: pc 1m'
# at t/output.t line 33.
# got: '1'
# expected: '0'
# Different in line: 1: got (Constant subroutine main::NaN redefined at (eval 5) line 1.), expect ()
# Failed test 'Exact power of 2 output units: pc 1m'
# at t/output.t line 33.
# got: '1'
# expected: '0'
# Different in line: 1: got (Constant subroutine main::NaN redefined at (eval 5) line 1.), expect ()
...
perl 5.21.x has changed the way how inf and nan are represented, so this might probably affect your module.