If you are just looking to see if X from file one is in file two, and vice 
versa, you may want to look at p147 in the Cookbook. It's example is 
comparing the hash keys of two seperate hashes. 
If you place each line of your file into a hash and the other file in 
another hash, and compare the tow, you should be able to get the results 
you want

-c


On Tue, 29 Jan 2002 [EMAIL PROTECTED] wrote:

> I have two lists of objects in two files. I need a way to compare these two
> files and:
> 
> 1- report any objects in File A that are not in File B
> 2- report any objects that are in File B but not in File A
> 
> 3- Restriction: I am not working with a modern version of Perl, I am
> restricted to the following: 5.003 (yeah...I know...it's not my decision)
> 
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to