Apache::SimpleReplace provides a simple way to insert content within an established template for uniform content delivery. While the end result is similar to Apache::Sandwich, Apache::SimpleReplace offers two main advantages:
It does not use separate header and footer files, easing the pain of maintaining syntactically correct HTML in separate files.
It is Apache::Filter aware, so it can both accept content from other content handlers and pass its changes on to others later in the chain.
Available from CPAN. See the module manpage for more information.
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).