How to Install and Uninstall libscalar-listify-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 03,2024

1. Install "libscalar-listify-perl" package

Please follow the guidance below to install libscalar-listify-perl on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "libscalar-listify-perl" package

This guide covers the steps necessary to uninstall libscalar-listify-perl on Ubuntu 21.10 (Impish Indri):

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

3. Information about the libscalar-listify-perl package on Ubuntu 21.10 (Impish Indri)

Package: libscalar-listify-perl
Architecture: all
Version: 0.03-2.1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 18
Depends: perl:any
Filename: pool/universe/libs/libscalar-listify-perl/libscalar-listify-perl_0.03-2.1_all.deb
Size: 5328
MD5sum: 27e5c943e1336fc4eaf5adc065850e40
SHA1: 63e2872782375d117fb4af70a4278e04b1128a38
SHA256: 322c2b5f9733d1a9ca7603021ecabcddcdb4785e46074dcdb347278ffeb21248
SHA512: 012f70488b94a1f23fa73f51f5abff59b6f4f175c7bafb679e8789b344a9c57cb20ded481886569ecd58ce8fbbe992f69958ff186a91f6542688d45d9ee92df9
Homepage: https://metacpan.org/release/Scalar-Listify
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