Help for this page

Select Code to Download


  1. or download this
    sub compute {
        my( $opsub, $x, $y, $rev )= @_;
    ...
            if  $rev;
        return $opsub->($x,$y);
    }
    
  2. or download this
    sub mul {
        my $mulsub = sub { bless \( $$_[0] + $$_[1] ) };
        return &compute($mulsub,@_);
    }