Retreive entries from a text file
Posted on 2004-08-04
I'm in pretty desperate need of a working Perl script. I know exactly what the code needs to do but I just don't know Perl!
Here's the problem:
I have a text file consisting of thousands of entries in the following format:
I need to cut some entries from the file. The best way for me to do this would be to use an input file listing the entry names I want removed.
Thus I would provide the entry names as an input file, and the Perl script would iteratively search for each Entry name provided. When it finds an entry it is searching for it would cut the complete entry from the file. The '>' sign is the handiest delimiter to use since every entry name is preceded by it.
Any help would be SINCERELY appreciated.
Cheers in Advance,