How to Install and Uninstall perl-Exporter-Lite Package on openSUSE Leap
Last updated: December 25,2024
1. Install "perl-Exporter-Lite" package
Learn how to install perl-Exporter-Lite on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
perl-Exporter-Lite
Copied
2. Uninstall "perl-Exporter-Lite" package
Here is a brief guide to show you how to uninstall perl-Exporter-Lite on openSUSE Leap:
$
sudo zypper remove
perl-Exporter-Lite
Copied
3. Information about the perl-Exporter-Lite package on openSUSE Leap
Information for package perl-Exporter-Lite:
-------------------------------------------
Repository : Main Repository
Name : perl-Exporter-Lite
Version : 0.09-bp155.1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 13.4 KiB
Installed : No
Status : not installed
Source package : perl-Exporter-Lite-0.09-bp155.1.4.src
Upstream URL : https://metacpan.org/release/Exporter-Lite
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()', '@EXPORT' and '@EXPORT_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 @ISA = 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 /;
-------------------------------------------
Repository : Main Repository
Name : perl-Exporter-Lite
Version : 0.09-bp155.1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 13.4 KiB
Installed : No
Status : not installed
Source package : perl-Exporter-Lite-0.09-bp155.1.4.src
Upstream URL : https://metacpan.org/release/Exporter-Lite
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()', '@EXPORT' and '@EXPORT_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 @ISA = 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 /;