Hello,
installation of Nagios::Plugin 0.27 fails at our site during the test
phase; we get some errors like this one::
# ------------------------------------
# got: '@657.8210567'
# expected: '@657.8210567'
t/Nagios-Plugin-Range.............ok 140/151
t/Nagios-Plugin-Range.............NOK 141# Failed test
'Stringification to simplified version'
# at t/Nagios-Plugin-Range.t line 225.
# An error occurred while using eq:
# ------------------------------------
# Operation `eq': no method found,
# left argument in overloaded package Nagios::Plugin::Range,
# right argument has no overloaded magic at cmp_ok [from
t/Nagios-Plugin-Range.t line 225] line 1.
#
# ------------------------------------
Please see the full log of the failed CPAN install in the attached file.
The hosts are running Scientific Linux 4.7 (basically, the same thing as
CentOS4.7) and the stock PERL 5.8.5 that came with the OS.
Any hint how to fix this?
Thank you very much in advance.
Best regards,
Riccardo Murri

Hi Riccardo,
I think this is probably a problem introduced by Test::More with their cmp_ok routine.
I've updated the test scripts to use is() instead of cmp_ok(). Can you try a make test with the
attached tarball.
If it works for you, then I'll push an update on CPAN.
Ton

Riccardo,
I've managed to recreate this now, and it is has happened since Test::Simple was upgraded to
0.86. See http://nagiosplugins.org/node/98 for more details.
Nagios::Plugins has been updated to 0.86 and is being indexed by CPAN now.
Ton