title: Illegal division by zero on very simple script
body: <p>A simple perl script:</p>
  
  <pre><code>#!/usr/bin/perl
  $num = `sed "s/\([^ ]*\).*/\1/"`;
  print "$num";
  
  $total = `sed "s/[^ ]*\(.*\)/\1/"`;
  print "$total";
  
  $div = $num / $total;
  print "div = $div \n";
  </code></pre>
  
  <p>When I run it:</p>
  
  <pre><code>$ echo 4 10 | ./test.pl 
  4 10
  Illegal division by zero at ./test.pl line 11.
  </code></pre>