debian man page for syntax::feature::gather

Query: syntax::feature::gather

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Syntax::Feature::Gather(3pm)				User Contributed Perl Documentation			      Syntax::Feature::Gather(3pm)

NAME
Syntax::Feature::Gather - Provide a gather keyword
VERSION
version 1.001000
SYNOPSIS
use syntax 'gather'; my @list = gather { # Try to extract odd numbers and odd number names... for (@data) { if (/(one|three|five|seven|nine)$/) { take qq{'$_'} } elsif (/^d+$/ && $_ %2) { take $_ } } # But use the default set if there aren't any of either... take @defaults unless gathered; } or to use the stuff that Sub::Exporter gives us, try # this is a silly idea use syntax gather => { gather => { -as => 'bake' }, take => { -as => 'cake' }, }; my @vals = bake { cake (1...10) }; The full documentation for this module is in Syntax::Keyword::Gather. This is just a way to use the sugar that syntax gives us.
AUTHORS
o Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com> o Damian Conway
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Arthur Axel "fREW" Schmidt. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.10.1 2010-11-07 Syntax::Feature::Gather(3pm)
Related Man Pages
sub::exporter::progressive(3) - mojave
syntax::keyword::junction5.18(3) - mojave
dbix::class::helper::resultset::ignorewantarray(3pm) - debian
dbix::class::helper::resultset::nocolumns(3pm) - debian
dbix::class::helper::row::numifyget(3pm) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
awk or sed - Convert 2 lines to 1 line
How can I do this in VI editor?
Is UNIX an open source OS ?
Detecting unused variables...