1Exporter::Shiny(3) User Contributed Perl Documentation Exporter::Shiny(3)
2
3
4
6 Exporter::Shiny - shortcut for Exporter::Tiny
7
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
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
39 Please report any bugs to
40 <https://github.com/tobyink/p5-exporter-tiny/issues>.
41
43 <https://exportertiny.github.io/>.
44
45 This module is just a wrapper around Exporter::Tiny, so take a look at
46 Exporter::Tiny::Manual::QuickStart and
47 Exporter::Tiny::Manual::Exporting for further information on what
48 features are available.
49
50 Other interesting exporters: Sub::Exporter, Exporter.
51
53 Toby Inkster <tobyink@cpan.org>.
54
56 This software is copyright (c) 2013-2014, 2017, 2022-2023 by Toby
57 Inkster.
58
59 This is free software; you can redistribute it and/or modify it under
60 the same terms as the Perl 5 programming language system itself.
61
63 THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
64 WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
65 MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
66
67
68
69perl v5.38.0 2023-07-20 Exporter::Shiny(3)