Is there a way, with PDF::Writer or somesuch, to fill out PDF fillable 
forms programmatically?

An example form might be: http://www.irs.gov/pub/irs-pdf/f1040.pdf