Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I write an HTTP server in Perl?

Tags:

http

perl

cpan

Is there a webserver or HTTP server module in the Perl standard library or in CPAN or elsewhere? I guess I'm looking for the equivalent of Python 3's http.server module. Thanks!

like image 704
zaphod Avatar asked Dec 15 '09 00:12

zaphod


3 Answers

In addition to HTTP::Daemon, I would recommend taking a look at HTTP::Server::Simple which indeed is very easy to use.

like image 78
Sinan Ünür Avatar answered Sep 19 '22 15:09

Sinan Ünür


See HTTP::Daemon

like image 26
PP. Avatar answered Sep 21 '22 15:09

PP.


Here are a few more:

  • Catalyst::Engine::HTTP
  • Net::Server
like image 20
Pedro Silva Avatar answered Sep 21 '22 15:09

Pedro Silva