Help for this page

Select Code to Download


  1. or download this
    use List::Util qw(min max);
    print max(4,8,2,33,1);      # prints 33
    
  2. or download this
    $smallest = min ($smallest, $number);
    
  3. or download this
    my ( $largest, $smallest ) = ('-inf', '+inf');