Install libapache2-mod-perl2 by entering the following commands in the terminal:
sudo apt update sudo apt install libapache2-mod-perl2
Description:
Integration of perl with the Apache2 web server
mod_perl allows the use of Perl for just about anything Apache-related, including
Homepage: http://perl.apache.org/
Version: 2.0.10-2ubuntu3
Section: perl