I have this problem where I have a text file of unspecified length. This file consists of multiple smaller files built in the same structure.
In any event, the file parts are delimited with a special character. I can find this character's position in the input stream. What I need to do is grab that character (some ASCII character >128 -- something non readable in notepad for instance) into a variable by using the original input line and the characters position. Then, I need to locate the first occurance characters "IEA" in that same input stream and count the number of characters from that "IEA" string to the very next delimiter as above.
Again, I'm bumping into the "I know how to do this is language X, but not in perl."
Help is MOST appreciated.