<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5296.0" name=GENERATOR></HEAD>
<BODY
style="WORD-WRAP: break-word; khtml-nbsp-mode: space; khtml-line-break: after-white-space">
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=775070417-31082006>You'd want it to work before an object was created, or
if you didn't have a Plugin object in the current scope, so </SPAN></FONT><FONT
face=Arial color=#0000ff size=2><SPAN class=775070417-31082006>I think die()
would have to be exported by the module and called functionally (it would also
work as a method).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=775070417-31082006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=775070417-31082006>I've messed with exit handlers before; after I get
through my current list of stuff I'll work on this.</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV>I like the idea of overloading die - keeps it v simple - but only if it
doesn't need to be specified at the plugin script (eg, can we get it
automatically just by use Nagios::Plugin?).</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><BR
class=khtml-block-placeholder></DIV>
<DIV>Also, does that mean the object will return the data? Or all the setup
stuff is class data?<SPAN class=775070417-31082006><FONT face=Arial
color=#0000ff size=2> </FONT></SPAN></DIV>
<DIV><SPAN
class=775070417-31082006> </SPAN></DIV></BLOCKQUOTE></BODY></HTML>