Perl Monk, Perl Meditation | |
PerlMonks |
My Codeby tsk1979 (Scribe) |
on May 22, 2009 at 12:07 UTC ( [id://765666]=note: print w/replies, xml ) | Need Help?? |
Below I present some code which I have currently finalized. The way of reading multiline record using prevline, and prevline2 is not really original, and I saw a colleague of mine doing this. It looks very very simple and works, and I am currently writing the complete script with processing and all.
The main reason I do like this, because I am inputting multiple files here. The governing key for all those files will be the line number. In the end the user will be presented statistics like this
Now another file I will input will just contain the line numbers of invalid data items. So user will be shown another table which will be same as above, but with invalids removed. Another table like the above will be shown which will be for the "invalids" file. In all this, the key is the line number which identifies what to subtract, the line number of the data_raw to be precise.
In Section
Seekers of Perl Wisdom
|
|