How to Install and Uninstall perl-autovivification Package on openSUSE Leap

Last updated: May 14,2024

1. Install "perl-autovivification" package

This tutorial shows how to install perl-autovivification on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-autovivification

2. Uninstall "perl-autovivification" package

Please follow the guidance below to uninstall perl-autovivification on openSUSE Leap:

$ sudo zypper remove perl-autovivification

3. Information about the perl-autovivification package on openSUSE Leap

Information for package perl-autovivification:
----------------------------------------------
Repository : Main Repository
Name : perl-autovivification
Version : 0.18-1.20
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 57.1 KiB
Installed : No
Status : not installed
Source package : perl-autovivification-0.18-1.20.src
Upstream URL : http://search.cpan.org/dist/autovivification/
Summary : Lexically disable autovivification
Description :
When an undefined variable is dereferenced, it gets silently upgraded to an
array or hash reference (depending of the type of the dereferencing). This
behaviour is called _autovivification_ and usually does what you mean (e.g.
when you store a value) but it may be unnatural or surprising because your
variables gets populated behind your back. This is especially true when
several levels of dereferencing are involved, in which case all levels are
vivified up to the last, or when it happens in intuitively read-only
constructs like 'exists'.
This pragma lets you disable autovivification for some constructs and
optionally throws a warning or an error when it would have happened.