<br><br><div class="gmail_quote">On Fri, Jul 24, 2009 at 12:01 PM, Douglas Bagnall <span dir="ltr">&lt;<a href="mailto:douglas@paradise.net.nz">douglas@paradise.net.nz</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Lesley/Mordac wrote:<br>
<br>
&gt; sub error {<br>
&gt;   }<br>
<br>
<br>
Following the previous discussion, my understanding is that this would<br>
be best rewritten:<br>
<br>
 use constant error =&gt; undef;<br>
<br>
so the error could be optimised away (if you used the right syntax).<br>
<font color="#888888"></font><br></blockquote></div><br clear="all">or you could have just added &#39;()&#39; to the original sub declaration and achieved the same benefit, as well as keeping the pesky code in a place you don&#39;t have to look at it =D <br>
<br><br>-- <br>Kent <br><br>perl -e  &quot;print substr( \&quot;edrgmaM  SPA NOcomil.ic\\@tfrken\&quot;, \$_ * 3, 3 ) for ( 9,8,0,7,1,6,5,4,3,2 );&quot;<br><br><br>