Next Program Repair Shop 181

Higher-Order Functions

        sub do_with_board {
          my $code = shift;
          for my $x (0..2) {
            for my $y (0..2) {
              $code->($x, $y);
            }
          }
        }


Next Copyright © 2002 M. J. Dominus