Help for this page

Select Code to Download


  1. or download this
    my $boss = curry( \&echo, "My", "boss:" );
    my $friend = curry( \&echo, "Johnny:" );
    
    print $boss->(qw( has pointy hair )), "\n"; # "My boss: has pointy hai
    +r
    print $friend->(qw( likes rock and roll )), "\n"; # etc.