Install libnet-httpserver-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-httpserver-perl
Description:
extensible HTTP server framework for Perl
Net::HTTPServer provides a light HTTP server. It can serve files, or can be configured to call Perl functions when a URL is accessed. . Net::HTTPServer basically turns a CGI script into a stand alone server. Useful for temporary services, mobile/local servers, or embedding an HTTP server into another program.
Homepage: https://metacpan.org/release/Net-HTTPServer
Version: 1.1.1-2
Section: universe/perl