in reply to Perl PDF modules
Another way to do the same thing is to use LaTeX for your template and use pdflatex to generate PDF. Same difference.
Don't know a way to force PDF to be rewritten when you've got an extant PDF template, though