in reply to Manipulating a pdf

Most likely, you want to look at PDF::Template or PDF::API2, both of which can fill in PDF forms I think. If the government forms aren't actual PDF forms but merely forms that happen to be delivered in PDF format without the user being able to fill them out on the computer, you will have to do some tricky overlay manipulation of the PDF, which can (I think) only be done with PDF::API2.

I haven't used either module.