How to Install and Uninstall libscalar-listify-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 02,2024

1. Install "libscalar-listify-perl" package

This guide let you learn how to install libscalar-listify-perl on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libscalar-listify-perl

2. Uninstall "libscalar-listify-perl" package

Learn how to uninstall libscalar-listify-perl on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove libscalar-listify-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libscalar-listify-perl package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libscalar-listify-perl
Priority: optional
Section: universe/perl
Installed-Size: 47
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 0.03-2
Depends: perl
Filename: pool/universe/libs/libscalar-listify-perl/libscalar-listify-perl_0.03-2_all.deb
Size: 5842
MD5sum: f253d1a7057f3735a11eb4818414dab7
SHA1: e422d9b6a8e3238d47392cc1afa2cdfcb5190f64
SHA256: 5ae1ced1b09d5056713226757f08e64bc4bfa8222cf7df7749b2b4e9ea112f36
Description-en: module that produces an array/arrayref from a scalar value or array ref
A lot of Perl code ends up with scalars having either a single scalar value
or a reference to an array of scalar values. In order to handle the two
conditions, one must check for what is in the scalar value before getting on
with one's task. Ie:
.
$text_scalar = 'text';
.
$aref_scalar = [ 1.. 5 ];
.
print ref($text_scalar) ? (join ':', @$text_scalar) : $text_scalar;
Description-md5: e38c9f901176b1626eeb6db1f2d57373
Homepage: https://metacpan.org/release/Scalar-Listify
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu