Re: Upgrading chained response handlers to mod_perl2

2010-03-13 Thread Iain Kennedy
aguely sane, even? With the following directive: PerlResponseHandler +Module::Test1 +Module::Test2 Having both Test1 and Test2 process the HTML response body in turn with mod_perl1 was pretty straightforward. I reckon I must be missing something pretty obvious, surely? Iain Iain Kennedy wrote: >

Upgrading chained response handlers to mod_perl2

2010-03-11 Thread Iain Kennedy
Hi, I'm in the process of upgrading an application to mod_perl2. The application currently relies on chained content handlers. Each PerlResponseHandler in the chain uses the following mechanism to get (and then process) the requested file: $r->filter_register; my ($fh, $status) = $self->{'r'}->fi