Binary package “libnet-httpserver-perl” in ubuntu xenial

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.