Comparing files with regular expressions

2008-05-02 Thread rubinsta
Hello, I'm a Perl uber-novice and I'm trying to compare two files in order to exclude items listed on one file from the complete list on the other file. What I have so far prints out a third file listing everything that matches the exclude file from the complete file (which I'm hoping will be a d

Re: Comparing files with regular expressions

2008-05-02 Thread rubinsta
me format, e.g. 9780657007423. Any thoughts as to why some of the matches are getting missed? Just out of beginner curiosity, why did you suggest I use the 3 argument filehandle instead of: open(EX, "exclude1.txt") or die $! Thanks again for all your help! On May 2, 7:41 am, [EMAIL PROT