Next Program Repair Shop 180

Higher-Order Functions

        do_with_board(sub { ...do something...});
        my $code = shift;
        $result = $code->();
        # or
        $result = $code->($x, $y);


Next Copyright © 2002 M. J. Dominus