Help for this page

Select Code to Download


  1. or download this
    $x =min $x, $y; # p5
    $x ?>:= $y;     # my half-assed notion:)
    ...
    $x =max $x, $y; # p5
    $x ?<:= $y;     # Mine
    $x max= $y;     # p6+
    
  2. or download this
    for ( 0 .. $#{ $hash{$set}{data} } ) {
        $hash{$set}{min} = $hash{$set}{min} < $hash{$set}{data}[$_]
                         ? $hash{$set}{min} 
                         : $hash{$set}{data}[$_];
    }
    
  3. or download this
    $hash{$set}{min} ?<:= $hash{$set}{data}[$_] for 0 .. $#{ $hash{$set}{d
    +ata} };