summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2013-10-28 18:09:08 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2013-10-28 18:09:08 +0000
commit1f3ec55911f841590a62ed06becc2bd9131a5fc4 (patch)
treec5cc7c17e75fff9f97efbd575d464cb9da4f60e9 /README
downloadSub-Exporter-Progressive-tarball-master.tar.gz
Sub-Exporter-Progressive-0.001011HEADSub-Exporter-Progressive-0.001011master
Diffstat (limited to 'README')
-rw-r--r--README54
1 files changed, 54 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..03ee181
--- /dev/null
+++ b/README
@@ -0,0 +1,54 @@
+NAME
+ Sub::Exporter::Progressive - Only use Sub::Exporter if you need it
+
+SYNOPSIS
+ package Syntax::Keyword::Gather;
+
+ use Sub::Exporter::Progressive -setup => {
+ exports => [qw( break gather gathered take )],
+ groups => {
+ default => [qw( break gather gathered take )],
+ },
+ };
+
+ # elsewhere
+
+ # uses Exporter for speed
+ use Syntax::Keyword::Gather;
+
+ # somewhere else
+
+ # uses Sub::Exporter for features
+ use Syntax::Keyword::Gather 'gather', take => { -as => 'grab' };
+
+DESCRIPTION
+ Sub::Exporter is an incredibly powerful module, but with that power
+ comes great responsibility, er- as well as some runtime penalties. This
+ module is a "Sub::Exporter" wrapper that will let your users just use
+ Exporter if all they are doing is picking exports, but use
+ "Sub::Exporter" if your users try to use "Sub::Exporter"'s more advanced
+ features, like renaming exports, if they try to use them.
+
+ Note that this module will export @EXPORT, @EXPORT_OK and %EXPORT_TAGS
+ package variables for "Exporter" to work. Additionally, if your package
+ uses advanced "Sub::Exporter" features like currying, this module will
+ only ever use "Sub::Exporter", so you might as well use it directly.
+
+AUTHOR
+ frew - Arthur Axel Schmidt (cpan:FREW) <frioux+cpan@gmail.com>
+
+CONTRIBUTORS
+ ilmari - Dagfinn Ilmari Mannsåker (cpan:ILMARI) <ilmari@ilmari.org>
+
+ mst - Matt S. Trout (cpan:MSTROUT) <mst@shadowcat.co.uk>
+
+ leont - Leon Timmermans (cpan:LEONT) <leont@cpan.org>
+
+COPYRIGHT
+ Copyright (c) 2012 the Sub::Exporter::Progressive "AUTHOR" and
+ "CONTRIBUTORS" as listed above.
+
+LICENSE
+ This library is free software and may be distributed under the same
+ terms as perl itself.
+