How to Install and Uninstall libuniversal-can-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 25,2024

1. Install "libuniversal-can-perl" package

This guide let you learn how to install libuniversal-can-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libuniversal-can-perl

2. Uninstall "libuniversal-can-perl" package

This is a short guide on how to uninstall libuniversal-can-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libuniversal-can-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libuniversal-can-perl package on Ubuntu 21.10 (Impish Indri)

Package: libuniversal-can-perl
Architecture: all
Version: 1.20140328-1.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: 30
Depends: perl:any
Filename: pool/universe/libu/libuniversal-can-perl/libuniversal-can-perl_1.20140328-1.1_all.deb
Size: 11384
MD5sum: 6f468d2a343d15437ff6c73f36888fa5
SHA1: e1c7c585561a19f2e49afd3e0fcf6fc7fa3f37ee
SHA256: ca7eecfe8f6631607189c9fd9eac874f634e08676d3a03171b968175538d475b
SHA512: 6e758e2d7f400d0754e392a6d57d1b40d63491f1078897ccdc78c89d88bbe7786b84b7e907d2563f9fda9b4e858960a798f80445ab393f387d4422908b972614
Homepage: https://metacpan.org/release/UNIVERSAL-can
Description-en: safer version of UNIVERSAL::can
The UNIVERSAL class provides a few default methods so that all objects can
use them. Object orientation allows programmers to override these methods in
subclasses to provide more specific and appropriate behavior.
.
Some authors call methods in the UNIVERSAL class on potential invocants as
functions, bypassing any possible overriding. This is wrong and one should
not do it. Unfortunately, not everyone heeds this warning and their bad code
can break good code.
.
This module replaces UNIVERSAL::can() with a method that checks to see if
the first argument is a valid invocant (whether an object -- a blessed
referent -- or the name of a class). If so, and if the invocant's class has
its own can() method, it calls that as a method. Otherwise, everything works
as you might expect.
.
If someone attempts to call UNIVERSAL::can() as a function, this module will
emit a lexical warning (see perllexwarn) to that effect. You can disable it
with no warnings; or no warnings 'UNIVERSAL::isa';, but don't do that; fix
the code instead.
Description-md5: 46763af6a14849d13af2a51929626a04