aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Syntax-Keyword-Gather/pkg-descr
blob: 527ee12036b8b3e542d57bd255a374a6914fdd38 (plain) (blame)
1
2
3
4
5
6
7
Perl 6 provides a new control structure -- gather -- that allows lists to be
constructed procedurally, without the need for a temporary variable. Within the
block/closure controlled by a gather any call to take pushes that call's
argument list to an implicitly created array. take returns the number of
elements it took. Syntax::Keyword::Gather implements that control structure.

WWW: https://metacpan.org/release/Syntax-Keyword-Gather