libapache-filter-perl | Alter the output of previous Apache handlers | Mehr ...
It provides functionality similar to Apache::OutputChain, but with a nicer interface (filters are listed in forward order, not reverse, in httpd.conf; and you don't need to write two separate modules, one which chains and one which doesn't [e.g. Apache::SSI and Apache::SSIChain]).