How to Install and Uninstall libclass-virtual-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 03,2024

1. Install "libclass-virtual-perl" package

Please follow the step by step instructions below to install libclass-virtual-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libclass-virtual-perl

2. Uninstall "libclass-virtual-perl" package

Learn how to uninstall libclass-virtual-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libclass-virtual-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libclass-virtual-perl package on Ubuntu 21.10 (Impish Indri)

Package: libclass-virtual-perl
Architecture: all
Version: 0.08-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: 29
Depends: perl, libcarp-assert-perl, libclass-data-inheritable-perl, libclass-isa-perl
Filename: pool/universe/libc/libclass-virtual-perl/libclass-virtual-perl_0.08-1_all.deb
Size: 10158
MD5sum: f4ec99bbd266566c9ec2e0c470674068
SHA1: 178026f4fff3d02349a84a7ce6842c60a58d527c
SHA256: 27aecd0ce1ff53c2232bb9a797776a8f705f74aa30b0ae93d8d95e5372e651c9
SHA512: d2ad0ba1dacee54a9085cd5c54c109dc337d3c4f44af969019bfceddcc8e9e5b47c99ca1e40de5a73207cbbd5ef55eaac990373a2b92147238fd3d714fb49696
Homepage: https://metacpan.org/release/Class-Virtual
Description-en: Base class for virtual base classes
This is a base class for implementing virtual base classes (what some
people call an abstract class). Kinda kooky. It allows you to
explicitly declare what methods are virtual and that must be
implemented by subclasses. This might seem silly, since your program
will halt and catch fire when an unimplemented virtual method is hit
anyway, but there's some benefits.
.
The error message is more informative. Instead of the usual
"Can't locate object method" error, you'll get one explaining that a
virtual method was left unimplemented.
.
Subclass authors can explicitly check to make sure they've implemented
all the necessary virtual methods. When used as part of a regression
test, it will shield against the virtual method requirements changing
out from under the subclass.
Description-md5: cd343f871695d8db8dff11d1484b8244