Sub::Ex...ressive(3)
π Sub::Ex...ressive(3) β bestie manual energy π
okay so this is a User Contributed Perl Documentation page, and the manual name is Sub::Ex...ressive(3). We're talking about Sub::Exporter::Progressive, and I'm gonna walk you through it like we're in the group chat. π«Ά
πΈ NAME πΈ
Sub::Exporter::Progressive β only use Sub::Exporter if you need it. That's literally the whole assignment, periodt. β¨
π VERSION π
version 0.001013 β tiny number, big βI got youβ energy. π
π¦ SYNOPSIS π¦
okay bestie, here's the setup moment:
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. fr fr, that's the vibe check. π¦
π 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>
π AUTHOR π
Arthur Axel "fREW" Schmidt β <Sub-Exporter-Progressive@afoolishmanifesto.com> π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2016 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. π«Ά
and that's the whole page, bestie. Footer shoutout: perl v5.42.0, dated 2016-10-23, page name Sub::Ex...ressive(3). Slay forever. π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Sub-Exporter-Progressive 0.001013-160000.2.2 Β· Artistic-1.0 or GPL-1.0+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms