http://www.perlmonks.org?node_id=795400


in reply to Http server problem

I'm not sure how i feel about this code. I'm all about reuse and everything and I don't think its really an issue, but you might at least want to mention HTTP::Server::Simple since you cut and paste this code directly out of it.

It is probably also worth mentioning that you don't realy need the feature line or the read only stuff since there is no reason to make the port read only. It just makes it difficult to run this code on a production machine.


___________
Eric Hodges

Replies are listed 'Best First'.
Re^2: Http server problem
by woosley (Beadle) on Sep 16, 2009 at 11:30 UTC
    Sorry, I just wanted to learn how to write http-servers so I digged into the code of "HTTP::Server::Simple", I should have mentioned that.
    It is just for personal practice, not for production use, but thanks the suggestions anyway.