title: about perl condition statement go wrong question
body: <p>We use Perl scripts to check if condition.</p>
  <pre><code>##code(t1) is as belows:
  
  my @results = (93, 4, 0);
  
  my @param_array = (
      [ &quot;50&quot;, &quot;&lt;&quot;, &quot;stat1&quot;, ],
      [ &quot;1&quot;, &quot;&lt;&quot;, &quot;stat2&quot;, ],
      [ &quot;3&quot;, &quot;&lt;&quot;, &quot;stat3&quot;, ],
  );
  
  for ($i=0; $i &lt; @results; $i++) {
  
    print (&quot; &quot; . $results[$i] . &quot; &quot; . $param_array[$i][1] . &quot; &quot; . $param_array[$i][0] . &quot; &quot;);
  
    if  ( $results[$i] + 0 &lt; $param_array[i][0] + 0 ) {
  
      print &quot;  beend&quot;;
  
    }
    else {
      print &quot;  end111&quot;;
  
    }
  }
  </code></pre>
  <p>The result is strange.  When 95&lt;50, <code>if</code> condition is not true, and it prints  <code>end111</code>.  I think the statement is right.</p>
  <p>But when 4 &lt; 1, <code>if</code> condition is not true, it also prints <code>beend</code>.  I think the statement is wrong.</p>
  <p>Why does this happen?</p>
  <pre><code>###result is as below
  perl t1
     93 &lt; 50   end111   
     4 &lt; 1   beend  
     0 &lt; 3   beend 
  </code></pre>