Your skill will accomplish what the force of many cannot |
|
PerlMonks |
parsing with two filesby perlthirst (Scribe) |
on Feb 20, 2009 at 11:24 UTC ( [id://745335]=perlquestion: print w/replies, xml ) | Need Help?? |
perlthirst has asked for the wisdom of the Perl Monks concerning the following question: hi, I have two files.
file1
file2 file1 contains the list of codes, and file2 contains, code with its id and after some lines corresponding event ids for that code id. My output should have list of code ids and its corresponding event id. I have written the following code to achieve the above requirement
It works, but i want some other way which should be simple and effective.
Back to
Seekers of Perl Wisdom
|
|