diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2008-11-21 01:35:04 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2008-11-21 01:35:04 +0000 |
commit | 3ae2f969910f6b0dbcd1b85b667f223f87ea2757 (patch) | |
tree | 12e3e724fcc9b30bd641e158183a8a88d16d60eb /lib | |
parent | 96e9e6710ff0e4a0b0354c44e9e0aec4ee8fc7cd (diff) | |
download | monitoring-plugin-perl-3ae2f969910f6b0dbcd1b85b667f223f87ea2757.tar.gz |
Fixed test problems against Test::More 0.86
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@2089 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Nagios/Plugin/Range.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Nagios/Plugin/Range.pm b/lib/Nagios/Plugin/Range.pm index 32a0639..536f6bb 100644 --- a/lib/Nagios/Plugin/Range.pm +++ b/lib/Nagios/Plugin/Range.pm | |||
@@ -15,6 +15,7 @@ use Nagios::Plugin::Functions qw(:DEFAULT $value_re); | |||
15 | our ($VERSION) = $Nagios::Plugin::Functions::VERSION; | 15 | our ($VERSION) = $Nagios::Plugin::Functions::VERSION; |
16 | 16 | ||
17 | use overload | 17 | use overload |
18 | 'eq' => sub { shift->_stringify }, | ||
18 | '""' => sub { shift->_stringify }; | 19 | '""' => sub { shift->_stringify }; |
19 | 20 | ||
20 | # alert_on constants (undef == range not set) | 21 | # alert_on constants (undef == range not set) |