FreeBSD.software
Home/devel/p5-Syntax-Keyword-Gather

p5-Syntax-Keyword-Gather

1.003002devel

Implements the Perl 6 'gather/take' control structure in Perl 5

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.

$pkg install p5-Syntax-Keyword-Gather
metacpan.org/release/Syntax-Keyword-Gather
Origin
devel/p5-Syntax-Keyword-Gather
Size
46.8KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
2 packages
Required by
1 packages

Dependencies (2)

Required By (1)