
jacob
Deleted
Feb 16, 2000, 10:23 AM
Post #1 of 2
(1618 views)
|
|
Modifying a pdf file through perl
|
Can't Post
|
|
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. 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.
|