If you use binmode on your input and output filehandles, you should be able to do a "non-edit" of your file, loading and saving it unmodified, and it should still work.
I'm not sure, but I think I remember that PCL is not all that trivial to generate and edit, so depending on your task, simple string replacements may or may not work. But that depends on the kind of replacements you do.
In reply to Re: How to edit a PCL file
by Corion
in thread How to edit a PCL file
by GoForIt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |