in reply to Replacing text in a PDF file

Try to look at a module PDF::Reuse - Perl interface to the PDF files for manipulation of them elements.

Also, look at PDF::Reuse::Tutorial, which consists examples of using this module.

      
--------------------------------
SV* sv_bless(SV* sv, HV* stash);