Name : perl-Exporter-Lite
| |
Version : 0.09
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2023-07-20 15:15:37
|
Group : Unspecified
| Source RPM : perl-Exporter-Lite-0.09-lp155.1.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : UNKNOWN
|
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: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-E/15.5/noarch |