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

Last updated: November 22,2024

1. Install "libuniversal-can-perl" package

Here is a brief guide to show you how to install libuniversal-can-perl on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "libuniversal-can-perl" package

Please follow the instructions below to uninstall libuniversal-can-perl on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: libuniversal-can-perl
Priority: optional
Section: universe/perl
Installed-Size: 59
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 1.20140328-1
Depends: perl
Filename: pool/universe/libu/libuniversal-can-perl/libuniversal-can-perl_1.20140328-1_all.deb
Size: 11924
MD5sum: 64d2f1f8f70d07305ebe8f746a181563
SHA1: 4a3a61df79b6705282f09405ec1341939319dd29
SHA256: d22007d0c0574965b3cbd3f5e54448fb0ad370091b4240ffc5cbf74aeefc5388
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
Homepage: https://metacpan.org/release/UNIVERSAL-can
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu