Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Exporter::Shiny

Name Exporter::Shiny
Version 1.002002
Located at /usr/local/share/perl5
File /usr/local/share/perl5/Exporter/Shiny.pm
Is Core No
Search CPAN for this module Exporter::Shiny
Documentation Exporter::Shiny
Module Details Exporter::Shiny


NAME

Exporter::Shiny - shortcut for Exporter::Tiny


SYNOPSIS

   use Exporter::Shiny qw( foo bar );

Is a shortcut for:

   use base "Exporter::Tiny";
   push our(@EXPORT_OK), qw( foo bar );

For compatibility with the Sub::Exporter manpage, the following longer syntax is also supported:

   use Exporter::Shiny -setup => {
      exports => [qw( foo bar )],
   };


DESCRIPTION

This is a very small wrapper to simplify using the Exporter::Tiny manpage.

It does the following:

It doesn't set up %EXPORT_TAGS or @EXPORT, but there's nothing stopping you doing that yourself.


BUGS

Please report any bugs to http://rt.cpan.org/Dist/Display.html.


SEE ALSO

This module is just a wrapper around the Exporter::Tiny manpage, so take a look at the Exporter::Tiny::Manual::QuickStart manpage and the Exporter::Tiny::Manual::Exporting manpage for further information on what features are available.

Other interesting exporters: the Sub::Exporter manpage, Exporter.


AUTHOR

Toby Inkster <tobyink@cpan.org>.


COPYRIGHT AND LICENCE

This software is copyright (c) 2014, 2017 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.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024