|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: Regular expression helpby Don Coyote (Monk) |
| on Nov 21, 2012 at 14:33 UTC ( #1004930=note: print w/ replies, xml ) | Need Help?? |
|
Anannassa, I think you are expending too much energy on splitting up the lines to match the separate parts Though to clear the id you could use split. I have suggested a substition to strip the id out of the line. You then just compare the whole of the remaining line against the 2nd file lines. This is untested but, should do the trick, if not give you another way to approach the problem.
this type of thing can also be done using greps,maps and hash key indexing.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||