Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Http server problem

by eric256 (Parson)
on Sep 15, 2009 at 14:38 UTC ( [id://795400] : note . print w/replies, xml ) Need Help??

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.