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
Packager: https://bugs.opensuse.org
Url: http://search.cpan.org/dist/Exporter-Lite/
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 /;

Provides

Requires

License

Artistic-1.0 or GPL-1.0+

Changelog

* Wed Jan 20 2016 coolo@suse.com
  - 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 coolo@suse.com
  - 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 coolo@suse.com
  - updated to 0.06
    see /usr/share/doc/packages/perl-Exporter-Lite/Changes
* Thu Jul 14 2011 coolo@novell.com
  - updated to 0.02
* Tue Nov 30 2010 coolo@novell.com
  - switch to perl_requires macro
* Mon Nov 29 2010 coolo@novell.com
  - remove /var/adm/perl-modules
* Mon Nov 29 2010 coolo@novell.com
  - called spec2changelog
* Tue Jun 20 2006 jfunk@funktronics.ca
  - Build under build service
* Fri Nov 11 2005 jfunk@funktronics.ca
  - Build for SL10
* Thu May 12 2005 jfunk@funktronics.ca
  - Build for SL93

Files

/usr/lib/perl5/vendor_perl/5.34.0/Exporter
/usr/lib/perl5/vendor_perl/5.34.0/Exporter/Lite.pm
/usr/share/doc/packages/perl-Exporter-Lite
/usr/share/doc/packages/perl-Exporter-Lite/Changes
/usr/share/doc/packages/perl-Exporter-Lite/README
/usr/share/man/man3/Exporter::Lite.3pm.gz


Generated by rpm2html 1.8.1

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