• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

examples/Example/H03-May-2022-5723

inc/H03-May-2022-6,9322,373

lib/Exporter/H03-May-2022-1,478873

t/H03-May-2022-764532

COPYRIGHTH A D24-Apr-20202.4 KiB9678

CREDITSH A D24-Apr-2020163 96

ChangesH A D24-Apr-20203.5 KiB166107

INSTALLH A D24-Apr-2020959 3923

LICENSEH A D24-Apr-202017.9 KiB380292

MANIFESTH A D24-Apr-2020814 4544

META.jsonH A D24-Apr-20202 KiB7877

META.ymlH A D24-Apr-20201.2 KiB4342

Makefile.PLH A D24-Apr-20205.1 KiB151132

READMEH A D24-Apr-20202 KiB6647

SIGNATUREH A D24-Apr-20204.5 KiB6659

TODOH A D24-Apr-2020209 53

dist.iniH A D24-Apr-202063 42

doap.ttlH A D24-Apr-202026.4 KiB547503

README

1NAME
2    Exporter::Tiny - an exporter with the features of Sub::Exporter but only
3    core dependencies
4
5SYNOPSIS
6       package MyUtils;
7       use base "Exporter::Tiny";
8       our @EXPORT = qw(frobnicate);
9       sub frobnicate { ... }
10       1;
11
12       package MyScript;
13       use MyUtils "frobnicate" => { -as => "frob" };
14       print frob(42);
15       exit;
16
17DESCRIPTION
18    Exporter::Tiny supports many of Sub::Exporter's external-facing features
19    including renaming imported functions with the `-as`, `-prefix` and
20    `-suffix` options; explicit destinations with the `into` option; and
21    alternative installers with the `installer` option. But it's written in
22    only about 40% as many lines of code and with zero non-core dependencies.
23
24    Its internal-facing interface is closer to Exporter.pm, with configuration
25    done through the @EXPORT, @EXPORT_OK and %EXPORT_TAGS package variables.
26
27    If you are trying to write a module that inherits from Exporter::Tiny,
28    then look at:
29
30    *   Exporter::Tiny::Manual::QuickStart
31
32    *   Exporter::Tiny::Manual::Exporting
33
34    If you are trying to use a module that inherits from Exporter::Tiny, then
35    look at:
36
37    *   Exporter::Tiny::Manual::Importing
38
39BUGS
40    Please report any bugs to
41    <http://rt.cpan.org/Dist/Display.html?Queue=Exporter-Tiny>.
42
43SUPPORT
44    IRC: support is available through in the *#moops* channel on irc.perl.org
45    <http://www.irc.perl.org/channels.html>.
46
47SEE ALSO
48    Simplified interface to this module: Exporter::Shiny.
49
50    Other interesting exporters: Sub::Exporter, Exporter.
51
52AUTHOR
53    Toby Inkster <tobyink@cpan.org>.
54
55COPYRIGHT AND LICENCE
56    This software is copyright (c) 2013-2014, 2017 by Toby Inkster.
57
58    This is free software; you can redistribute it and/or modify it under the
59    same terms as the Perl 5 programming language system itself.
60
61DISCLAIMER OF WARRANTIES
62    THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
63    WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
64    MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
65
66