How to Install and Uninstall perl-SUPER Package on openSuSE Tumbleweed

Last updated: September 28,2024

1. Install "perl-SUPER" package

This is a short guide on how to install perl-SUPER on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install perl-SUPER

2. Uninstall "perl-SUPER" package

Here is a brief guide to show you how to uninstall perl-SUPER on openSuSE Tumbleweed:

$ sudo zypper remove perl-SUPER

3. Information about the perl-SUPER package on openSuSE Tumbleweed

Information for package perl-SUPER:
-----------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-SUPER
Version : 1.20190531-1.20
Arch : noarch
Vendor : openSUSE
Installed Size : 30.2 KiB
Installed : No
Status : not installed
Source package : perl-SUPER-1.20190531-1.20.src
Upstream URL : https://metacpan.org/release/SUPER
Summary : Control superclass method dispatch
Description :
When subclassing a class, you occasionally want to dispatch control to the
superclass -- at least conditionally and temporarily. The Perl syntax for
calling your superclass is ugly and unwieldy:
$self->SUPER::method(@_);
especially when compared to its Ruby equivalent:
super;
It's even worse in that the normal Perl redispatch mechanism only
dispatches to the parent of the class containing the method _at compile
time_. That doesn't work very well for mixins and roles.
This module provides nicer equivalents, along with the universal method
'super' to determine a class' own superclass. This allows you to do things
such as:
goto &{$_[0]->super('my_method')};
if you don't like wasting precious stack frames.
If you are using roles or mixins or otherwise pulling in methods from other
packages that need to dispatch to their super methods, or if you want to
pass different arguments to the super method, use the 'SUPER()' method:
$self->SUPER( qw( other arguments here ) );