AHAH!!! I found it.. thanks, your example showed the difference. What it was is that I was sending my header before my final filter, which as I now am guessing, maps STDOUT, which this needs. I'm recommending to the author to put a note in about where the headers should be printed.
Thanks for your help, definately made the difference On Friday 07 December 2001 01:10 pm, you wrote: > Jason Hall wrote: > > ok, that make sense, so I modified my filter1 to just register the > > filter, print out some text, and return ok, that's it. and it still > > doesn't print anything if filter2 comes after it? Does that sound wrong > > to anybody but me? > > try this: > > package One; > > use Apache::Constants qw(OK); > use strict; > > sub handler { > my $r = shift; > $r = $r->filter_register(); > print "Filter 1"; > return OK; > } > 1; > > package Two; > > use Apache::Constants qw(OK); > use strict; > > sub handler { > my $r = shift; > $r = $r->filter_register(); > my ($fh, $status) = $r->filter_input(); > return $status unless $status == OK; > $r->send_http_header('text/plain'); > while(<$fh>) { > print; > } > print "Filter 2"; > return OK; > } > 1; > > > looks like if you don't send your headers things go slightly amuck. > > --Geoff -- Jayce^