<?xml version="1.0" encoding="windows-1252"?>
<node id="148737" title="Re: Magic Status Variable" created="2002-03-01 19:23:16" updated="2005-08-14 20:59:54">
<type id="11">
note</type>
<author id="143330">
rjray</author>
<data>
<field name="doctext">
&lt;p&gt;Consider implementing a "callback" system as an option over (or in place of) the &lt;tt&gt;warn&lt;/tt&gt; statement. Allow the programmer to provide a coderef that gets called with the object (&lt;tt&gt;$self&lt;/tt&gt;) and the warning message as arguments.&lt;/p&gt;
&lt;p&gt;Consider the applications to event-based environments like &lt;b&gt;Tk&lt;/b&gt;, &lt;b&gt;GTK+&lt;/b&gt;, etc., that may not have a STDERR in the traditional sense.&lt;/p&gt;
&lt;p&gt;&lt;i&gt;--rjray&lt;/i&gt;&lt;/p&gt;</field>
<field name="root_node">
148730</field>
<field name="parent_node">
148730</field>
</data>
</node>
