Skip Menu |

This queue is for tickets about the Nagios-Plugin CPAN distribution.

Report information
The Basics
Id: 92032
Status: resolved
Priority: 0/
Queue: Nagios-Plugin

Owner: Nobody in particular
Requestors: zefram [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.37

Subject: deprecated defined(%hash) in test
Date: Fri, 10 Jan 2014 16:44:31 +0000
To: bug-Nagios-Plugin [...]
From: Zefram <zefram [...]>
Download (untitled) / with headers
text/plain 427b
On current perl: t/Nagios-Plugin-Functions-01.t .... 1/113 defined(%hash) is deprecated at t/Nagios-Plugin-Functions-01.t line 22. (Maybe you should just omit the defined()?) t/Nagios-Plugin-Functions-01.t .... ok The line in question is trying to detect whether the hash has been imported. I think a sensible way to test this is to check that one of the hash elements exists. Attached patch fixes. -zefram
Download defined_hash.patch
text/x-diff 575b

Message body is not shown because sender requested not to inline it.

thanks, this will be fixed in the next release of Monitoring::Plugins.
Download (untitled) / with headers
text/plain 255b
On 2014-01-19 18:29:35, NIERLEIN wrote: Show quoted text
> thanks, this will be fixed in the next release of Monitoring::Plugins.
With perl 5.21.x, this is not anymore a warning but an error. See for a fail/pass overview.
Download (untitled) / with headers
text/plain 112b
This is fixed with the latest release. Since this module is deprecated now and the successor fixed that already.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to