Skip Menu |

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

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

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

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

Subject: Small perldoc bug in Nagios-Plugin
Date: Tue, 30 Jun 2009 11:52:07 -0600 (MDT)
To: bug-Nagios-Plugin [...]
From: Mike Place <mp [...]>
Download (untitled) / with headers
text/plain 602b
Hello, On the following page, the example code in the Synopsis section (and in the distributed perldoc) may be misleading to some: This page presently references version 0.33 of Nagios::Plugin. Initially, the $np object is created via the Nagios::Plugin->new(...) call, but in the line following, the add_arg method is invoked on $p, which has not yet been instantiated. To make things clearer for the reader, I suggest changing the two references from $p to $np in the Synopsis section of the perldoc for Nagios-Plugin. Best, -mp
Thanks for the report. Have updated in git and will post a newer module soon.

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

Please report any issues with to