Feb 14, 2000, 4:44 AM
Post #1 of 2
I want to write a code which will generate a serial no. and add it to the pdf file before it is sent for download.
Editing a pdf file using perl
When the user clicks the download button it calls a perl file which will fetch the last no. generated and add an incremental value to the pdf file.The new value should search for a patter as follows:
It should search for _previousno and replace it with _(previousno+1)
where previousno is stored in a file.
My code is not able to find the pattern to replace .But sometimes it does.Can u tell me why this strange behaviour?
Have u performed any such operations and do u have any code snippets for this?
Please do tell me.