S
Shalini Joshi
Hi!
I am relatively new to perl and am looking to parse a non-delimited
text file. What I would like to do is out of this file of records
which always begin with 'FPR' and could span multiple lines, extract
only some relevant records.
The criterion is the number denoted by characters 7 through 18..I have
a vague idea how to go about parsing this, but with so much
information(on the website and the other postings on the group) it's
kind of confusing what the best way to do it is..I am initially
interested in just getting the script to work...
I would just like to extract this info and create a newfile where i
would store it in the same format..Is there any way I can do it? Or
would I necessarily have to parse the info into an array or somethng
before i dump it into the new file?
Thanks and looking forward to any kind of help and tips.
--Shalini
I am relatively new to perl and am looking to parse a non-delimited
text file. What I would like to do is out of this file of records
which always begin with 'FPR' and could span multiple lines, extract
only some relevant records.
The criterion is the number denoted by characters 7 through 18..I have
a vague idea how to go about parsing this, but with so much
information(on the website and the other postings on the group) it's
kind of confusing what the best way to do it is..I am initially
interested in just getting the script to work...
I would just like to extract this info and create a newfile where i
would store it in the same format..Is there any way I can do it? Or
would I necessarily have to parse the info into an array or somethng
before i dump it into the new file?
Thanks and looking forward to any kind of help and tips.
--Shalini