1Sub::Exporter::ProgressUisveer(3C)ontributed Perl DocumeSnutba:t:iEoxnporter::Progressive(3)
2
3
4
6 Sub::Exporter::Progressive - Only use Sub::Exporter if you need it
7
9 version 0.001013
10
12 package Syntax::Keyword::Gather;
13
14 use Sub::Exporter::Progressive -setup => {
15 exports => [qw( break gather gathered take )],
16 groups => {
17 default => [qw( break gather gathered take )],
18 },
19 };
20
21 # elsewhere
22
23 # uses Exporter for speed
24 use Syntax::Keyword::Gather;
25
26 # somewhere else
27
28 # uses Sub::Exporter for features
29 use Syntax::Keyword::Gather 'gather', take => { -as => 'grab' };
30
32 Sub::Exporter is an incredibly powerful module, but with that power
33 comes great responsibility, er- as well as some runtime penalties.
34 This module is a "Sub::Exporter" wrapper that will let your users just
35 use Exporter if all they are doing is picking exports, but use
36 "Sub::Exporter" if your users try to use "Sub::Exporter"'s more
37 advanced features, like renaming exports, if they try to use them.
38
39 Note that this module will export @EXPORT, @EXPORT_OK and %EXPORT_TAGS
40 package variables for "Exporter" to work. Additionally, if your
41 package uses advanced "Sub::Exporter" features like currying, this
42 module will only ever use "Sub::Exporter", so you might as well use it
43 directly.
44
46 ilmari - Dagfinn Ilmari Mannsåker (cpan:ILMARI) <ilmari@ilmari.org>
47
48 mst - Matt S. Trout (cpan:MSTROUT) <mst@shadowcat.co.uk>
49
50 leont - Leon Timmermans (cpan:LEONT) <leont@cpan.org>
51
53 Arthur Axel "fREW" Schmidt
54 <Sub-Exporter-Progressive@afoolishmanifesto.com>
55
57 This software is copyright (c) 2016 by Arthur Axel "fREW" Schmidt.
58
59 This is free software; you can redistribute it and/or modify it under
60 the same terms as the Perl 5 programming language system itself.
61
62
63
64perl v5.32.1 2021-01-27 Sub::Exporter::Progressive(3)