[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#615032: ITP: libsyntax-keyword-gather-perl -- Perl 5 module that implements the Perl 6 'gather/take' control structure



Package: wnpp
Owner: gregor herrmann <gregoa@debian.org>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org,debian-perl@lists.debian.org

* Package name    : libsyntax-keyword-gather-perl
  Version         : 1.001000
  Upstream Author : Arthur Axel "fREW" Schmidt
* URL             : http://search.cpan.org/dist/Syntax-Keyword-Gather/
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : Perl 5 module that implements the Perl 6 'gather/take' control structure

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. This module implements
that control structure.

Syntax::Keyword::Gather implements that functionality for Perl 5.



Reply to: