<!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>
&nbsp;&nbsp; my $data_file = shift;<br>
<br>
&nbsp;&nbsp; if ( ! -f "$data_dir/$data_file" ) {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "Cannot find data file $data_file in $data_dir\n";<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return ( undef, undef, undef );<br>
&nbsp;&nbsp; }</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 =&gt; 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>