Re: Problem with Stream-oriented Output Filter

2002-11-24 Thread Stas Bekman
Esteban Fernandez Stafford wrote: [...] As you can see the filter is called twice and therefore there is one line that gets broken in two. I could always store $left_over in the context of the filter and prepend it to what I read when the filter starts again. But the problem I find is that I have

Re: Problem with Stream-oriented Output Filter

2002-11-22 Thread Esteban Fernandez Stafford
On Thu, 21 Nov 2002, Stas Bekman wrote: Esteban Fernandez Stafford wrote: Hello, I am currently developing a modperl filter that uses the streaming approach. I started off with the example in http://perl.apache.org/docs/2.0/user/handlers/filters.html#Stream_oriented_Output_Filter

Re: Problem with Stream-oriented Output Filter

2002-11-21 Thread Stas Bekman
Esteban Fernandez Stafford wrote: Hello, I am currently developing a modperl filter that uses the streaming approach. I started off with the example in http://perl.apache.org/docs/2.0/user/handlers/filters.html#Stream_oriented_Output_Filter sub handler { my $filter = shift; my

Problem with Stream-oriented Output Filter

2002-11-20 Thread Esteban Fernandez Stafford
Hello, I am currently developing a modperl filter that uses the streaming approach. I started off with the example in http://perl.apache.org/docs/2.0/user/handlers/filters.html#Stream_oriented_Output_Filter sub handler { my $filter = shift; my $left_over = ''; while