Skip Menu |

This queue is for tickets about the Color-Calc CPAN distribution.

Report information
The Basics
Id: 99150
Status: resolved
Priority: 0/
Queue: Color-Calc

People
Owner: CFAERBER [...] cpan.org
Requestors: JHI [...] cpan.org
Cc:
AdminCc:

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



Subject: not everything from POSIX
Perl 5.22 (due out Spring 2015) the POSIX module has much extended math support. One of the new interfaces is round(). Because by default the POSIX module exports *everything*, this unfortunately will conflict with the Color::Calc::round(). The attached very simple patch stops exporting everything from POSIX. It seems that only POSIX::strtod() is being used by Color::Calc, and the use is fully qualified.
Subject: color-calc.patch
--- lib/Color/Calc.pm.dist 2014-09-25 21:20:38.000000000 -0400 +++ lib/Color/Calc.pm 2014-09-25 21:22:15.000000000 -0400 @@ -8,7 +8,7 @@ use Carp; use Exporter; use Params::Validate qw(:all); -use POSIX; +use POSIX (); use Scalar::Util qw(dualvar); use List::Util qw(min max reduce sum);
Thank you for reporting this issue. I'll release a new version with your patch shortly.