<html>
<head>
<!-- Template generated by Exclaimer Mail Disclaimers on {Current Date} -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">P.ImprintUniqueID {
MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
page: Section1
}
</style>
</head>
<body>
<div>
<div>
<p class="ImprintUniqueID"></p>
<div>Named arguments sometimes* don't work if label is supplied in<br>
Nagios::Monitoring::Plugin-0.51 | Monitoring::Plugin-0.39.<br>
<br>
* Sometimes it works, sometimes not. Non-deterministic, depends on internal Perl ordering of hash members...<br>
<br>
<br>
I have tried to make this fix fork-agnostic. It should, with the right patch options, apply to both with some offset.<br>
<br>
<br>
--- a/xxx/Plugin/Getopt.pm<br>
+++ b/xxx/Plugin/Getopt.pm<br>
@@ -399,7 +399,7 @@<br>
my %args;<br>
<br>
# Named args<br>
- if ($_[0] =~ m/^(spec|help|required|default)$/ && scalar(@_) % 2 == 0) {<br>
+ if ($_[0] =~ m/^(spec|help|required|label|default)$/ && scalar(@_) % 2 == 0) {<br>
%args = validate( @_, {<br>
spec => 1,<br>
help => 1,<br>
<br>
<br>
<br>
<br>
<br>
Regards,<br>
<br>
Brandon Peirce<br>
<br>
<br>
<br>
<br>
</div>
<br>
<table class="ImprintUniqueIDTable" style="HEIGHT: 272px; WIDTH: 450px; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="450" border="0">
<tbody>
<tr>
<td style="HEIGHT: 77px">
<div>
<div>
<p class="ImprintUniqueID"><font style="font-family:Calibri;font-size:10pt;color:#931648;font-weight:bold;">Brandon</font><strong><font color="#931648" size="2" face="Calibri"> </font></strong><font style="font-family:Calibri;font-size:10pt;color:#931648;font-weight:bold;">Peirce</font></p>
</div>
<div><font style="font-family:Calibri;font-size:10pt;color:#931648;">Monitoring & Health Engineer Sr.</font><font color="#931648" size="2" face="Calibri"> <br>
</font><span style="font-family:Calibri;font-size:10pt;color:#931648;"><a href="mailto:BPeirce@isabel.eu" title="Click to send email to Brandon Peirce" target="" style="font-family:Calibri;font-size:10pt;color:#931648;"><span style="font-family:Calibri; font-size:10pt; color:#931648;">BPeirce@isabel.eu</span></a></span></div>
</div>
<div>
<div><font color="#931648" size="2" face="Calibri">t. </font><font style="font-family:Calibri;font-size:10pt;color:#931648;">+32 2 4031 875</font><br>
<font color="#931648" size="2" face="Calibri">m.</font><font style="font-family:Calibri;font-size:10pt;color:#931648;">+32 472 54 51 64</font></div>
</div>
</td>
</tr>
<tr>
<td style="HEIGHT: 137px"><font color="#931648"><font face="Calibri"><font size="2"><strong>Isabel NV/SA<br>
</strong>Keizerinlaan 13-15 Bld de l'Impératrice<br>
1000 Brussels<br>
Belgium<br>
t. +32 2 5451 711<br>
f. +32 2 5451 719<br>
</font></font></font><span style="font-family:Calibri;font-size:10pt;color:#931648;"><a href="http://www.isabel.eu" title="" target="" style="font-family:Calibri;font-size:10pt;color:#931648;"><span style="font-family:Calibri; font-size:10pt; color:#931648;">www.isabel.eu</span></a></span><br>
<span style="font-family:Calibri;font-size:10pt;color:#931648;"><a href="http://www.isabelgroup.eu" title="" target="" style="font-family:Calibri;font-size:10pt;color:#931648;"><span style="font-family:Calibri; font-size:10pt; color:#931648;">www.isabelgroup.eu</span></a></span></td>
</tr>
<tr>
<td valign="top" align="center">
<p id="undefined"><font color="#931648" size="2" face="Calibri"></font></p>
<p align="left"><font color="#931648" size="1" face="Calibri">
<table class="ImprintUniqueIDTable" style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="WIDTH: 375px"><a href="http://www.isabel.eu" target=""><img width="200" height="63" style="border: 0px Solid ; " src="cid:image2baa0c.PNG@267a5f7b.4e9a7c61"></a></td>
<td style="WIDTH: 72px">
<p align="right"><img width="53" height="63" style="border: 0px Solid ; " src="cid:imagea47fb0.PNG@3db357b8.48b8d382"></p>
</td>
</tr>
</tbody>
</table>
<br>
Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee, you should not further read, disclose, distribute, copy or
use this e-mail or its contents, immediately notify the sender by reply to this e-mail and delete this message as well as any attachments without retaining a copy. </font><span style="font-family:Calibri;font-size:8pt;color:#931648;"><a href="http://www.isabel.eu/en/forbusiness/support6/disclaimer/email.html" title="" target="" style="font-family:Calibri;font-size:8pt;color:#931648;"><span style="font-family:Calibri; font-size:8pt; color:#931648;">The
entire email disclaimer of Isabel NV/SA</span></a></span><br>
<br>
</p>
</td>
</tr>
</tbody>
</table>
<font color="#931648" face="Calibri"></font>
<p></p>
</div>
</div>
<div>
<div></div>
</div>
<div><font color="#931648" face="Calibri"></font></div>
<div><font color="#931648" face="Calibri"></font></div>
<div><font color="#931648" face="Calibri"></font></div>
<div><font color="#931648" face="Calibri"></font></div>
<div><font color="#931648" face="Calibri"></font></div>
<div><font color="#931648" face="Calibri"></font></div>
<div><font color="#931648" face="Calibri"></font></div>
<div><font color="#931648" face="Calibri"></font></div>
<div><font color="#931648" face="Calibri"></font></div>
<div><font color="#931648" face="Calibri"></font></div>
<div><font color="#931648" face="Calibri"></font></div>
</body>
</html>