perl-Exporter-Tiny
An exporter with the features of Sub::Exporter but only core dependencies


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. If you are trying to *write* a module that inherits from Exporter::Tiny, then look at: * Exporter::Tiny::Manual::QuickStart * Exporter::Tiny::Manual::Exporting If you are trying to *use* a module that inherits from Exporter::Tiny, then look at: * Exporter::Tiny::Manual::Importing

Artistic-1.0 OR GPL-1.0-or-later

cloud_download Downloads

Please select a product to see the available package versions:
Loading...
Loading package downloads...