CoBu
Programmer
- Jan 14, 2009
- 7
Hi
What i am trying to achieve is to open a pcl file in a perl script find certain text, set as variable and replace another string with this variable. Works fine so far as all the find replace is working.
The only problem is that when i write out to the same pcl file there is a slight difference between the input file and the output file, so the printout is wrong and contains rogue characters.
Anybody have any suggestions as how to fix this issue?
I appreciate you taking the time to have a think!
What i am trying to achieve is to open a pcl file in a perl script find certain text, set as variable and replace another string with this variable. Works fine so far as all the find replace is working.
The only problem is that when i write out to the same pcl file there is a slight difference between the input file and the output file, so the printout is wrong and contains rogue characters.
Anybody have any suggestions as how to fix this issue?
I appreciate you taking the time to have a think!