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);