Exporter::Shiny3pm
Shortcut for exporter::tiny
Usage
use Exporter::Shiny qw( foo bar );
Is a shortcut for:
use base "Exporter::Tiny";push our(@EXPORT_OK), qw( foo bar );
For compatibility with Sub::Exporter, the following longer syntax is also supported:
use Exporter::Shiny -setup => {exports => [qw( foo bar )],};
Overview
This is a very small wrapper to simplify using Exporter::Tiny.
It does the following:
•
|
Marks your package as loaded in |
|---|---|
•
|
Pushes any function names in the import list onto your |
•
|
Pushes |
It doesn't set up %EXPORT_TAGS or @EXPORT, but there's nothing stopping you doing that yourself.
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.
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.
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.