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