billie_t has asked for the wisdom of the Perl Monks concerning the following question:
This is a completely clueless Perl newbie question, but at this point I am just wanting some ideas of where to start.
I have a list of usernames that is 6000+ lines long. I need to parse each line of this file and compare it with another file (10,000s lines long). If I find a match of my <username> from the first file embedded in a line of text in the larger file, I need to remove the matched line and all subsequent lines (the number varies!) up until and including the next matched line
I'm particularly wondering if Tie::File would be appropriate for this task. Other suggestions, methods and pointers most welcome.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Suggestions re parsing one large file with elements of another large file
by davido (Cardinal) on Jan 13, 2004 at 05:42 UTC | |
|
Re: Suggestions re parsing one large file with elements of another large file
by neuroball (Pilgrim) on Jan 13, 2004 at 06:07 UTC | |
by billie_t (Sexton) on Jan 13, 2004 at 06:42 UTC |