Name : perl-Exporter-Lite
| |
Version : 0.09
| Vendor : openSUSE
|
Release : lp160.1.1
| Date : 2022-03-05 04:06:08
|
Group : Unspecified
| Source RPM : perl-Exporter-Lite-0.09-lp160.1.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://bugs_opensuse_org
| |
Summary : lightweight exporting of functions and variables
|
Description :
Exporter::Lite is an alternative to Exporter, intended to provide a lightweight subset of the most commonly-used functionality. It supports \'import()\', \'AATTEXPORT\' and \'AATTEXPORT_OK\' and not a whole lot else.
Exporter::Lite simply exports its import() function into your namespace. This might be called a \"mix-in\" or a \"role\".
When \'Exporter::Lite\' was written, if you wanted to use \'Exporter\' you had to write something like this:
use Exporter; our AATTISA = qw/ Exporter /;
\'Exporter::Lite\' saved you from writing that second line. But since before 2010 you\'ve been able to write:
use Exporter qw/ import /;
Which imports the \'import\' function into your namespace from \'Exporter\'. As a result, I would recommend that you use \'Exporter\' now, as it\'s a core module (shipped with Perl).
To make sure you get a version of \'Exporter\' that supports the above usage, specify a minimum version when you \'use\' it:
use Exporter 5.57 qw/ import /;
|
RPM found in directory: /vol/rzm3/linux-opensuse/distribution/leap/16.0/repo/oss/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(Exporter::Lite)
perl-Exporter-Lite
Requires :