Install libexception-class-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libexception-class-perl
Description:
module that allows you to declare real exception classes in Perl
Exception::Class allows you to declare exceptions in your modules in a manner similar to how exceptions are declared in Java. . It features a simple interface allowing programmers to 'declare' exception classes at compile time. It also has a base exception class, Exception::Class::Base, that can be used for classes stored in files (aka modules ;) ) that are subclasses. . It is designed to make structured exception handling simpler and better by encouraging people to use hierarchies of exceptions in their applications.
Homepage: https://metacpan.org/release/Exception-Class
Version: 1.44-1
Section: perl