Header Ads Widget

[MAN] Exporter::Shiny

Content-type: text/html; charset=UTF-8 Man page of Exporter::Shiny

Exporter::Shiny

Section: User Contributed Perl Documentation (3pm)
Updated: 2017-11-12
Index Return to Main Contents
 

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 Sub::Exporter, 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 Exporter::Tiny.

It does the following:

Marks your package as loaded in %INC;
Pushes any function names in the import list onto your @EXPORT_OK; and
Pushes "Exporter::Tiny" onto your @ISA.

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?Queue=Exporter-Tiny>.  

SEE ALSO

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

Other interesting exporters: Sub::Exporter, 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.


 

Index

NAME
SYNOPSIS
DESCRIPTION
BUGS
SEE ALSO
AUTHOR
COPYRIGHT AND LICENCE
DISCLAIMER OF WARRANTIES

This document was created by man2html, using the manual pages.
Time: 04:45:44 GMT, September 16, 2022

댓글 쓰기

0 댓글