in reply to Subroutine chaining idiom requested
Or, without that:use List::Util qw(reduce); # unnecessary in in Perl 6 {grin} my @result = reduce { [$b->{@$a}] } [], @$agenda;
my @result; @result = $_->(@result) for @$agenda;
-- Randal L. Schwartz, Perl hacker
|
---|
In Section
Seekers of Perl Wisdom