Skip Menu |

This queue is for tickets about the App-PerlCalc CPAN distribution.

Report information
The Basics
Id: 103955
Status: new
Priority: 0/
Queue: App-PerlCalc

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: v1.2.0
Fixed in: (no value)



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.