Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I have a large number of pdf files that all contain links to a wrong URL. All I need to do is a simple find and replace.

However, I'm failing to find anything that will let me parse the pdfs and amend them.

I can't find anything that looks helpful in CPAN. Does anyone have any suggestions?

Thanks.

Replies are listed 'Best First'.
Re: Amending URLs in pdfs
by banduwgs (Beadle) on Sep 29, 2003 at 13:59 UTC

    PDF::API2 is one of the best module for creating PDFs.

    However reading PDF is kind of troublesome. There are some tools which can convert PDF to text and html. You can use one of them to read and create new documet using API2 module.

    My currently using conversion tool is pdftxt1

    Hope it helpful - SB