Name : perl-Exporter-Lite
| |
Version : 0.02
| Vendor : obs://obsaarch64_cloud_suse_de/openSUSE:Factory:ARM
|
Release : 9.2
| Date : 2013-06-27 10:15:37
|
Group : Development/Libraries/Perl
| Source RPM : perl-Exporter-Lite-0.02-9.2.src.rpm
|
Size : 0.01 MB
| |
Packager : (none)
| |
Summary : Lightweight exporting of variables
|
Description :
This is an alternative to Exporter intended to provide a lightweight subset of its functionality. It supports \'import()\', \'AATTEXPORT\' and \'AATTEXPORT_OK\' and not a whole lot else.
Unlike Exporter, it is not necessary to inherit from Exporter::Lite (ie. no \'AATTISA = qw(Exporter::Lite)\' mantra). Exporter::Lite simply exports its import() function. This might be called a \"mix-in\".
Setting up a module to export its variables and functions is simple:
package My::Module; use Exporter::Lite;
AATTEXPORT = qw($Foo bar);
now when you \'use My::Module\', \'$Foo\' and \'bar()\' will show up.
In order to make exporting optional, use AATTEXPORT_OK.
package My::Module; use Exporter::Lite;
AATTEXPORT_OK = qw($Foo bar);
when My::Module is used, \'$Foo\' and \'bar()\' will _not_ show up. You have to ask for them. \'use My::Module qw($Foo bar)\'.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/Factory:/ARM/standard/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(Exporter::Lite)
perl-Exporter-Lite
Requires :