Help for this page

Select Code to Download


  1. or download this
    sub addn($n)
     {
      my $retsub = sub ($x) { $x + $n }
      return $retsub;
     }
    
  2. or download this
    sub addn($n)
     {
    ...
      my $retsub = sub ($x) { $x + $m }
      return $retsub;
     }