Help for this page

Select Code to Download


  1. or download this
    my @box;
    for (...) {
    ...
                  $MinX, $MinY, $MaxX, $MaxY,
                  ($MaxX - $MinX) * ($MaxY - $MinY)];
    }
    
  2. or download this
    @box = sort { $a->[5] <=> $b->[5] } @box;
    
  3. or download this
    use Sort::Key qw(nkeysort_inplace);
    
    nkeysort_inplace { $_->[5] } @box;
    
  4. or download this
    
    # untested!
    ...
      }
      return ($max, @max);
    }