in reply to Edit PDF documents

The CAM::PDF family of modules and scripts seem to be what you need.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law