generated from smedev/Template-for-SMEServer-Core-Perl
29 lines
1.4 KiB
Markdown
29 lines
1.4 KiB
Markdown
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> perl-Exporter-Tiny
|
|
|
|
SMEServer Koozali local git repo for perl-Exporter-Tiny
|
|
|
|
## Documentation
|
|
<br />https://metacpan.org/pod/perl-Exporter-Tiny
|
|
|
|
## Bugzilla
|
|
CPAN bug report are [here](https://rt.cpan.org/Public/Dist/Display.html?Name=perl-Exporter-Tiny)
|
|
|
|
Show list of Koozali outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=perl-Exporter-Tiny&product=SME%20Server%2011.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
|
|
|
|
## Description
|
|
|
|
Exporter::Tiny supports many of Sub::Exporter's external-facing features
|
|
including renaming imported functions with the -as, -prefix and -suffix
|
|
options; explicit destinations with the into option; and alternative
|
|
installers with the installer option. But it's written in only about 40%
|
|
as many lines of code and with zero non-core dependencies.
|
|
|
|
Its internal-facing interface is closer to Exporter.pm, with configuration
|
|
done through the @EXPORT, @EXPORT_OK and %EXPORT_TAGS package variables.
|
|
|
|
Exporter::Tiny performs most of its internal duties (including resolution of
|
|
tag names to sub names, resolution of sub names to coderefs, and installation
|
|
of coderefs into the target package) as method calls, which means they can be
|
|
overridden to provide interesting behavior.
|
|
|