Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-Exporter-Lite-0.08-1.18 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: perl-Exporter-Lite Distribution: openSUSE Tumbleweed
Version: 0.08 Vendor: openSUSE
Release: 1.18 Build date: Sun Sep 26 00:39:18 2021
Group: Development/Libraries/Perl Build host: lamb54
Size: 12783 Source RPM: perl-Exporter-Lite-0.08-1.18.src.rpm
Summary: Lightweight Exporting of Functions and Variables
Exporter::Lite is an alternative to Exporter, intended to provide a
lightweight subset of the most commonly-used functionality. It supports
'import()', '@EXPORT' and '@EXPORT_OK' and not a whole lot else.

Unlike Exporter, it is not necessary to inherit from Exporter::Lite; Ie you
don't need to write:

 @ISA = qw(Exporter::Lite);

Exporter::Lite simply exports its import() function into your namespace.
This might be called a "mix-in" or a "role".

Setting up a module to export its variables and functions is simple:

    package My::Module;
    use Exporter::Lite;

    our @EXPORT = qw($Foo bar);

Functions and variables listed in the '@EXPORT' package variable are
automatically exported if you use the module and don't explicitly list any
imports. Now, when you 'use My::Module', '$Foo' and 'bar()' will show up.

Optional exports are listed in the '@EXPORT_OK' package variable:

    package My::Module;
    use Exporter::Lite;

    our @EXPORT_OK = qw($Foo bar);

When My::Module is used, '$Foo' and 'bar()' will _not_ show up, unless you
explicitly ask for them:

    use My::Module qw($Foo bar);

Note that when you specify one or more functions or variables to import,
then you must also explicitly list any of the default symbols you want to
use. So if you have an exporting module:

    package Games;
    our @EXPORT    = qw/ pacman defender  /;
    our @EXPORT_OK = qw/ galaga centipede /;

Then if you want to use both 'pacman' and 'galaga', then you'd write:

    use Games qw/ pacman galaga /;




Artistic-1.0 or GPL-1.0+


* Wed Jan 20 2016
  - updated to 0.08
    see /usr/share/doc/packages/perl-Exporter-Lite/Changes
    0.08 2016-01-13
    - Fixed typo in name of Constant::Export::Lazy in SEE ALSO. MANWAR++
    - Simplified Makefile.PL
* Wed Nov 11 2015
  - updated to 0.07
    see /usr/share/doc/packages/perl-Exporter-Lite/Changes
    0.07 2015-10-09
    - Updated github repo URL after changing my github username
* Tue Apr 14 2015
  - updated to 0.06
    see /usr/share/doc/packages/perl-Exporter-Lite/Changes
* Thu Jul 14 2011
  - updated to 0.02
* Tue Nov 30 2010
  - switch to perl_requires macro
* Mon Nov 29 2010
  - remove /var/adm/perl-modules
* Mon Nov 29 2010
  - called spec2changelog
* Tue Jun 20 2006
  - Build under build service
* Fri Nov 11 2005
  - Build for SL10
* Thu May 12 2005
  - Build for SL93



Generated by rpm2html 1.8.1

Fabrice Bellet, Thu Oct 14 23:16:49 2021