Ironically, I had already started writing my own class called Apache::Filter (which I had intended to implement within each CGI script), completely unaware that a class with that name already existed, and did exactly what I was looking for. This will be much better and save lots of time.
I've had other experiences where I found a module that already did something I was trying to do, but this is the first time I've started writing one with the exact same name. :-) Thanks, Peter > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Perrin Harkins > Sent: Tuesday, March 04, 2008 8:13 PM > To: Peter Wood > Cc: modperl@perl.apache.org > Subject: Re: Modify output of Apache::PerlRun? > > > On Thu, Feb 28, 2008 at 9:33 AM, Peter Wood > <[EMAIL PROTECTED]> wrote: > > I'm running Apache 1.3.28 and mod_perl 1.27. I have quite > a few Perl > > CGI scripts that run via Apache::PerlRun and product HTML > output. I'd > > like to be able to modify the HTML output of these scripts > after they > > finish running, so as to insert some HTML code on a > site-wide basis > > without having to modify each individual script. > > I'd suggest you look at Apache::Filter. It should be able to > do this for you. > > - Perrin >