From 3ae2f969910f6b0dbcd1b85b667f223f87ea2757 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Fri, 21 Nov 2008 01:35:04 +0000 Subject: 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 --- lib/Nagios/Plugin/Range.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Nagios') 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); our ($VERSION) = $Nagios::Plugin::Functions::VERSION; use overload + 'eq' => sub { shift->_stringify }, '""' => sub { shift->_stringify }; # alert_on constants (undef == range not set) -- cgit v1.2.3-74-g34f1