phpman > perldoc > Sub::Exporter::Progressive(3pm)

Markdown | JSON | MCP    

NAME
    Sub::Exporter::Progressive - Only use Sub::Exporter if you need it

VERSION
    version 0.001013

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.

CONTRIBUTORS
    ilmari - Dagfinn Ilmari Mannsåker (cpan:ILMARI) <ilmari AT ilmari.org>

    mst - Matt S. Trout (cpan:MSTROUT) <mst AT shadowcat.uk>

    leont - Leon Timmermans (cpan:LEONT) <leont AT cpan.org>

AUTHOR
    Arthur Axel "fREW" Schmidt <Sub-Exporter-Progressive AT 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.

Generated by phpman v3.7.12 Author: Che Dong Under GNU General Public License
2026-06-13 15:31 @216.73.216.173
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!