1Exporter::Shiny(3)    User Contributed Perl Documentation   Exporter::Shiny(3)
2
3
4

NAME

6       Exporter::Shiny - shortcut for Exporter::Tiny
7

SYNOPSIS

9          use Exporter::Shiny qw( foo bar );
10
11       Is a shortcut for:
12
13          use base "Exporter::Tiny";
14          push our(@EXPORT_OK), qw( foo bar );
15
16       For compatibility with Sub::Exporter, the following longer syntax is
17       also supported:
18
19          use Exporter::Shiny -setup => {
20             exports => [qw( foo bar )],
21          };
22

DESCRIPTION

24       This is a very small wrapper to simplify using Exporter::Tiny.
25
26       It does the following:
27
28       ·   Marks your package as loaded in %INC;
29
30       ·   Pushes any function names in the import list onto your @EXPORT_OK;
31           and
32
33       ·   Pushes "Exporter::Tiny" onto your @ISA.
34
35       It doesn't set up %EXPORT_TAGS or @EXPORT, but there's nothing stopping
36       you doing that yourself.
37

BUGS

39       Please report any bugs to
40       <http://rt.cpan.org/Dist/Display.html?Queue=Exporter-Tiny>.
41

SEE ALSO

43       This module is just a wrapper around Exporter::Tiny, so take a look at
44       Exporter::Tiny::Manual::QuickStart and
45       Exporter::Tiny::Manual::Exporting for further information on what
46       features are available.
47
48       Other interesting exporters: Sub::Exporter, Exporter.
49

AUTHOR

51       Toby Inkster <tobyink@cpan.org>.
52
54       This software is copyright (c) 2014, 2017 by Toby Inkster.
55
56       This is free software; you can redistribute it and/or modify it under
57       the same terms as the Perl 5 programming language system itself.
58

DISCLAIMER OF WARRANTIES

60       THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
61       WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
62       MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
63
64
65
66perl v5.30.1                      2020-01-30                Exporter::Shiny(3)
Impressum