Install libtest-fatal-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libtest-fatal-perl
Description:
module for testing code with exceptions
Test::Fatal is an alternative to the popular Test::Exception. It does much less, but should allow greater flexibility in testing exception-throwing code with about the same amount of typing. . It exports one routine by default: exception.
Homepage: https://metacpan.org/release/Test-Fatal
Version: 0.014-1
Section: universe/perl