Help for this page

Select Code to Download


  1. or download this
    my $sub;
    $sub = sub {
    ...
    };
    print $sub->(5), "\n";
    print $sub->(6), "\n";
    
  2. or download this
    function (builder) {
      return function (n) {
    ...
    )(
      5  // THIS is the factorial to compute
    );