in reply to A Problem With Hashes and Keys

your code works pretty well on my machine. I used the next filecontent for a test:
input:
CA 92037 CA 92021 CA 92055 CA 92037
delete:
92037 92055
And this gave me the output:
CA 92021
Maybe something wrong with your input-file format?

Replies are listed 'Best First'.
Re^2: A Problem With Hashes and Keys
by bivouac (Beadle) on Jul 19, 2004 at 14:54 UTC
    Is it possible that my substr call is hosing everything up? When I removed that from the code that seemed to work great - but by removing the substr call I need to adjust the incoming data which isn't a good thing. Still confused as heck.
      Just make shure that your substr produces the same values what are stored in DELETE_FILE