Help for this page

Select Code to Download


  1. or download this
    sub curried {
      my @args = @_;
    ...
    }
    $sub = curried("xyz");
    $sub->(abc);
    
  2. or download this
    {
      my $mysub = \&mysub;
      *mysub = sub { $mysub->('xyz', @_) };
    }
    
  3. or download this
    #! /usr/bin/perl -w
    
    ...
            $func->(@args);
        }
    }