in reply to Why Perl Is Not My Favourite Functional Programming Language
in thread A mini-language for sequences (part 1)
When Perl 6 is ready, you will be able to use:
my $plus_op_subref = \&infix:+; my $not_op_subref = \&prefix:!; say $plus_op_subref.(3, 2); # 5
not tested ;)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Why Perl Is Not My Favourite Functional Programming Language
by TimToady (Parson) on Nov 06, 2004 at 23:02 UTC | |
by iblech (Friar) on Nov 07, 2004 at 11:31 UTC |