Help for this page

Select Code to Download


  1. or download this
      $i = 'A'; # the class label
      for $n (@temp) {
        next if defined $arrangements{$n}; # already classified it.
    ...
        &ClassReunion( $i, \@classmates );
        $i++;
      }
    
  2. or download this
    sub M1 { map join(',', @_[$_..$#_], @_[0..$_-1]), 1..$#_ }
  3. or download this
    sub M2 {
      my %temp;
      @temp{(1..@_)} = @_;
      %temp = reverse %temp;
      return join(',', @temp{(1..@_)});
    }