Subject: | Spread.pm numeric warning when require |
<LordV> silly perl question: PoCo::SpreadClient sez: use Spread 3.017;
the version on hand is Spread 3.17.4.4. When I load the PoCo, I get the
warning: Argument "3.17.4.4" isn't numeric.
<LordV> any ideas how to shut this up? cuz wrapping it in a { no
warnings; use PoCo... } doesn't do it.
<Apocalypse> LordV: Hmm, does changing the use Spread line to "use
Spread 3.17.4.1" fix the warn? The actual bug is in Spread.pm for not
using eval $VERSION on a dotted-decimal version :(
<LordV> Apocalypse: nope, still warns.
<LordV> Apocalypse: however: { no warnings; use Spread 3.017 (or
3.17.4.1) } is quiet
<Apocalypse> LordV: Thanks, I'll file a RT ticket to remind myself to do
that :)
--
~Apocalypse