On Wed, 2004-04-07 at 13:04, dorian wrote: > On Wed, Apr 07, 2004 at 05:08:51PM +0200, Tom Schindl wrote: > > As far as I know not but you could pass information using $r->pnotes(), > > maybe you could also use > > > > my $apr = Apache::Request->instance($r); > > > > In all modules in the chain and use $apr->param() to set/reset different > > things. > > yeah, i saw that technique in the cookbook, but i was hoping for > some way to supplant the modified content back into the request > object, so that other modules didn't have to be aware.
You can modify $r->args() and others will see it transparently, but you can't modify $r->content() because it is read from the client. You would need to make the other pieces aware that they should read it from pnotes or call some method you create. > i'm actually really early on in this project, and could switch over to > apache/mod_perl 2 without much fuss and use an input filter. That would probably be best if it truly has to be transparent and you need to modify content and not just args. - Perrin -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html