in reply to Dynamic PDF files with Perl
You might find using htmldoc a simple solution if you've already got HTML versions of your document lying around. Source is GPL.