I have finally gotten something functional by
using LWP to make requests for all the includes
(roughly 5 per page), and to return the result
for inclusion in the template. I'm not very
happy with this solution, but it has to be
done by Monday and I was hoping to take the
afternoon off tomorrow for my birthday.
Better suggestions which don't include multiple HTTP requests to serve a single page are welcome.
I seem to be using the world 'hell' in all my journal entries. I wonder why this is.