• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/Sub/Exporter/H21-Oct-2016-17588

t/H21-Oct-2016-273195

ChangesH A D21-Oct-20161.5 KiB5640

LICENSEH A D21-Oct-201618 KiB380292

MANIFESTH A D21-Oct-2016348 2221

META.jsonH A D21-Oct-20161.3 KiB4947

META.ymlH A D21-Oct-2016750 2221

Makefile.PLH A D21-Oct-20161 KiB4432

READMEH A D21-Oct-20161.4 KiB4429

cpanfileH A D21-Oct-201654 43

dist.iniH A D21-Oct-2016415 2117

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