[Xml-compile] Re: Errors returned by XML::Compile::SOAP::HTTPDaemon and a couple of other things

Anton Berezin tobez at tobez.org
Thu Feb 4 12:10:49 GMT 2010


On Thu, Feb 04, 2010 at 01:00:24PM +0100, Mark Overmeer wrote:
> * Anton Berezin (tobez at tobez.org) [100204 11:50]:
> > Looks like (at least when I am using plain Net::Server
> 
> You must always use an extension of Net::Server, f.i. N::S::PreFork

Well, ok.  But this is still wrong, on general principles:

	{   alarm $timeleft;
		my $request  = $connection->get_request or last;
		alarm 0;

It should be:

	{   alarm $timeleft;
		my $request  = $connection->get_request;
		alarm 0;
		last unless $request;

\Anton.
-- 
Matters of elegance ought to be left to the tailor and to the cobbler.
  -- L. Boltzmann



More information about the Xml-compile mailing list