title: Adding two number in perl
body: <p>I have written the followig perl Code : </p>
  
  <pre><code>print "Enter two number \n";
  $choise = &lt;STDIN&gt; ;
  $choise2 = &lt;STDIN&gt; ;
  $res = add($choise1 , $choise2);
  print "\n and the result is $res" ;
  
  
  sub add
  {
      ($x,$y) = @_;
      $res = $x + $y ;
      return $res ;   
  }
  </code></pre>
  
  <p>but  when i enter two input the result will be wrong  , for example 4 , 5 . the result that i have  5 not 9 !! , why ?</p>