<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#3333ff">
<font color="#000000" face="Helvetica, Arial, sans-serif" size="+1">What's
the importance of that, when what I'm running appears not dissimilar:<br>
<br>
sub compute_other {<br>
<br>
my $data_file = shift;<br>
<br>
if ( ! -f "$data_dir/$data_file" ) {<br>
print "Cannot find data file $data_file in $data_dir\n";<br>
return ( undef, undef, undef );<br>
}</font><font color="#000000" face="Helvetica, Arial, sans-serif"><br>
</font><br>
<br>
<br>
On 7/23/2009 8:01 PM, Douglas Bagnall wrote:
<blockquote cite="mid:4A68F9D9.8090208@paradise.net.nz" type="cite">
<pre wrap="">Lesley/Mordac wrote:
</pre>
<blockquote type="cite">
<pre wrap="">sub error {
}
</pre>
</blockquote>
<pre wrap=""><!---->
Following the previous discussion, my understanding is that this would
be best rewritten:
use constant error => undef;
so the error could be optimised away (if you used the right syntax).
Douglas
_______________________________________________
Wellington-pm mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wellington-pm@pm.org">Wellington-pm@pm.org</a>
<a class="moz-txt-link-freetext" href="http://mail.pm.org/mailman/listinfo/wellington-pm">http://mail.pm.org/mailman/listinfo/wellington-pm</a></pre>
</blockquote>
<br>
</body>
</html>