[Xml-compile] header method on HTTPDaemon object (version 0.11)

Mark Overmeer solutions at overmeer.net
Tue Nov 18 19:18:29 GMT 2008


* Zbigniew Lukasiak (zzbbyy at gmail.com) [081118 14:56]:
>     { use bytes; $self->header('Content-Length' => length $s); }
> 
> I don't see where $self should get the header method from.  So I
> copied HTTPDaemon.pm and changed this to
> 
>     { use bytes; $resp->header('Content-Length' => length $s); }
> I.e. I call the header method on the response object instead of $self.
> And now it works.

Of course, this is a bug.  I already had it in my 0.12-to-be-released...
I'll release a lot of new versions this week.  For instance, there is
an interface in Test::More which breaks some tests...
-- 
               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net




More information about the Xml-compile mailing list