Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: CoBu
  • Order by date
  1. CoBu

    Modifying pcl file

    The difference between the two files is minimal, it may be just that a string in the middle of a line is two tabs more to the right.. just frustrating things like that. The files are exactly the same size.
  2. CoBu

    Modifying pcl file

    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...
  3. CoBu

    Scaler Length

    Mike the only thing is that in the pcl file it does not appear as '/n' for a new line, it appears as a couple of boxes. When the file is opened and asigned to $var it reads it in with the new line chars taken into effect. Thanks. Co
  4. CoBu

    Scaler Length

    I have now identified that the line that reads in the file and sets it to a variable is reading the line that contains line breaks in it and is carry this out. so in stead of having one line with line break characters in it, it now goes onto a second line. $var = do {local $/; <$FILE>}; Is...
  5. CoBu

    Scaler Length

    Hi Kevin, Thanks for that, it still outputs the data incorrectly. When evaluating the pcl file line by line it gets to a certain character and starts a new line. It will not paste here correctly so i can not show you what i mean. I was searching there to see if there is an option to just...
  6. CoBu

    Scaler Length

    Hi Sorry i found out what the problem was, what i am trying to do is to open a pcl file, find a certain string and replace it with a variable that is defined in the perl script. Some of the characters in the pcl file are treated like end of line or termination characters so it is not writing to...
  7. CoBu

    Scaler Length

    Hi all I have a question regarding scaler lengths. I am opening a file and evaluating it line by line and writing it out to an 'outfile'. I have a problem because it is only taking the first 123 colums and writing it out when in fact it may be 214 colums long. Can anybody suggest a way around...

Part and Inventory Search

Back
Top