Help for this page

Select Code to Download


  1. or download this
      if ($x2 < $x) {
        my $tmp = $x;
        $x=$x2;
        $x2=$tmp;
      }
    
  2. or download this
      ($x2 < $x) and ($x, $x2) = ($x2, $x);  # Swap $x and $x2