Skip Menu |

This queue is for tickets about the Data-Currency CPAN distribution.

Report information
The Basics
Id: 113610
Status: new
Priority: 0/
Queue: Data-Currency

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Latest Data::Currency subtly breaks Handel
A number of Handel tests rely on being able to Test::More::is currency objects. This now invokes string (as opposed to numeric) comparison, and nothing works anymore: ~$ perl -Ilib -MHandel::Currency -E 'say Data::Currency->VERSION; say( (Handel::Currency->new(0, "USD") eq 0) ? "Y" : "N" )' 0.0501 Y ~$ cpanm Data::Currency Successfully installed Data-Currency-0.06000 (upgraded from 0.0501) 1 distribution installed ~$ perl -Ilib -MHandel::Currency -E 'say Data::Currency->VERSION; say( (Handel::Currency->new(0, "USD") eq 0) ? "Y" : "N" )' 0.06000 N