Install libend-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libend-perl
Description:
Perl interface to execute code at end of scope
End is a Perl module that exports a single subroutine, end, which enables execution of code whenever the current block is exited, regardless of whether it is due to a return, next, last, redo, exit, die, goto or just reaching the end of the current block.
Homepage: https://metacpan.org/release/End/
Version: 2009110401-1
Section: universe/perl