Exporter::Tiny(3)
π NAME π
Exporter::Tiny β it's an exporter, bestie, and it's giving all the features of Sub::Exporter but with only core dependencies. No extra baggage. We love a low-maintenance queen. π
(Also, hi, you're reading Exporter::Tiny(3), the manual page. Welcome to the group chat. π«Ά)
β¨ SYNOPSIS β¨
package MyUtils;
use base "Exporter::Tiny";
our @EXPORT = qw(frobnicate);
sub frobnicate { ... }
1;
package MyScript;
use MyUtils "frobnicate" => { -as => "frob" };
print frob(42);
exit;
πΈ DESCRIPTION πΈ
okay so. Exporter::Tiny supports SO many of Sub::Exporter's external-facing features, and I need you to know about all of them:
- renaming imported functions with the
-as,-prefixand-suffixoptions π - explicit destinations with the
intooption - alternative installers with the
installeroption
but here's the iconic part β it's written in only about 40% as many lines of code, with zero non-core dependencies. not me being obsessed with the efficiency. periodt. π₯
Its internal-facing interface is closer to Exporter.pm, with all the configuration done through the @EXPORT, @EXPORT_OK and %EXPORT_TAGS package variables. classic. familiar. comfy. π
If you are trying to write a module that inherits from Exporter::Tiny, then look at:
Exporter::Tiny::Manual::QuickStartExporter::Tiny::Manual::Exporting
If you are trying to use a module that inherits from Exporter::Tiny, then look at:
Exporter::Tiny::Manual::Importing
π BUGS π
Please report any bugs to https://github.com/tobyink/p5-exporter-tiny/issues.
bestie if you found a bug, tell the maintainers, don't just suffer in silence π that's what the issue tracker is FOR.
π¦ SEE ALSO π¦
https://exportertiny.github.io/- Simplified interface to this module:
Exporter::Shiny. (yes, the name is iconic, I know π) - Less tiny version, with more features:
Exporter::Almighty. (bigger, more features, still slaying in its own way) - Other interesting exporters:
Sub::Exporter,Exporter. (the classics, the OGs, we respect them fr fr π«Ά)
π AUTHOR π
Toby Inkster <tobyink@cpan.org>.
π COPYRIGHT AND LICENCE π
This software is copyright (c) 2013-2014, 2017, 2022-2025 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. so basically, go off, do your thing, just keep the same terms. π
π DISCLAIMER OF WARRANTIES π
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
like, no promises, bestie. it's giving "use at your own vibe." π (but also it works, so. π§)
perl v5.42.0 Β· 2026-01-17 Β· Exporter::Tiny(3)
and that's the whole page, bestie π go forth and export responsibly. mwah. πβ¨
π¦ where this page comes from
- fedora 44: perl-Exporter-Tiny 1.006003-2.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms