<br><br><div class="gmail_quote">On Fri, Jul 24, 2009 at 12:01 PM, Douglas Bagnall <span dir="ltr"><<a href="mailto:douglas@paradise.net.nz">douglas@paradise.net.nz</a>></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>
> sub error {<br>
> }<br>
<br>
<br>
Following the previous discussion, my understanding is that this would<br>
be best rewritten:<br>
<br>
use constant error => 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 '()' to the original sub declaration and achieved the same benefit, as well as keeping the pesky code in a place you don't have to look at it =D <br>
<br><br>-- <br>Kent <br><br>perl -e "print substr( \"edrgmaM SPA NOcomil.ic\\@tfrken\", \$_ * 3, 3 ) for ( 9,8,0,7,1,6,5,4,3,2 );"<br><br><br>