<p>That's what I'm doing in the interim. However, when the $message is empty we call <code>$plugin->plugin_exit(OK, "\nadditional\ndetails\nhere")</code> and end up with output like so</p>
<pre><code>OK -
additional
details
here|perfdata
</code></pre>
<p>The extra dash in the output is apparently annoying so some of my people. Maybe it'd be easier to just look for a leading \n in $message and skip the dash in that case. </p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br /><a href="https://github.com/monitoring-plugins/monitoring-plugin-perl/issues/9#issuecomment-204072475">Reply to this email on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AFQl2ec96uAFAoh1aHYCytBqSB5s1Qsrks5pzBYxgaJpZM4H9C72.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/monitoring-plugins/monitoring-plugin-perl/issues/9#issuecomment-204072475"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>