README
1SYNOPSIS
2
3 package Syntax::Keyword::Gather;
4
5 use Sub::Exporter::Progressive -setup => {
6 exports => [qw( break gather gathered take )],
7 groups => {
8 default => [qw( break gather gathered take )],
9 },
10 };
11
12 # elsewhere
13
14 # uses Exporter for speed
15 use Syntax::Keyword::Gather;
16
17 # somewhere else
18
19 # uses Sub::Exporter for features
20 use Syntax::Keyword::Gather 'gather', take => { -as => 'grab' };
21
22DESCRIPTION
23
24 Sub::Exporter is an incredibly powerful module, but with that power
25 comes great responsibility, er- as well as some runtime penalties. This
26 module is a Sub::Exporter wrapper that will let your users just use
27 Exporter if all they are doing is picking exports, but use
28 Sub::Exporter if your users try to use Sub::Exporter's more advanced
29 features, like renaming exports, if they try to use them.
30
31 Note that this module will export @EXPORT, @EXPORT_OK and %EXPORT_TAGS
32 package variables for Exporter to work. Additionally, if your package
33 uses advanced Sub::Exporter features like currying, this module will
34 only ever use Sub::Exporter, so you might as well use it directly.
35
36CONTRIBUTORS
37
38 ilmari - Dagfinn Ilmari Mannsåker (cpan:ILMARI) <ilmari@ilmari.org>
39
40 mst - Matt S. Trout (cpan:MSTROUT) <mst@shadowcat.co.uk>
41
42 leont - Leon Timmermans (cpan:LEONT) <leont@cpan.org>
43
44