Subject: | Suggestion for HTTP-Server-Simple-0.15 |
I am using Net::Server::PreForkSimple() to handle the requests.
My suggestion is to pass through @_ inside run() of HTTP::Server::Simple.pm
ie. instead of:
$pkg->run( port => $self->port );
Use
$pkg->run( port => $self->port, @_ );
Then we can pass the needed configuration parameters directly in the run() method.
$server = HTTP::Server::Simple->new();
$server->run(@PreForkSimpleArgs);
What do you think? Works for me.
Thanks,
Craig