Help for this page

Select Code to Download


  1. or download this
    sub ScoreHand { # returns the score of the passed in @hand or ShortHan
    +d
      my @hand = @_; return(7462) unless(@hand == 1 || @hand == 5); my $sh
    +rt;
    ...
      if(  $slow      ) { return(SlowScoreHand($shrt)); }
      else              { return(        $zdnh{$shrt}); }
    }
    
  2. or download this
    sub ScoreHand { # returns the score of the passed in @hand or ShortHan
    +d
      return 7462 unless @_ == 1 || @_ == 5;
    ...
        : $zdnh{ $shrt };
    }