http://habrahabr.ru/blogs/perl/69411/#habracut

some examples on how to write simple http server in Perl