Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Comparing strings from different files

by hippo (Deacon)
on Oct 08, 2013 at 10:23 UTC ( #1057403=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Comparing strings from different files
in thread Comparing strings from different files

  1. Open file1 and read it in one record at a time
  2. Each record should be split into the label and the rest
  3. Make the label the hash key and the rest the hash value
  4. Close file1 and open file2 and read it in one record at a time
  5. Each record should be split into the label and the rest
  6. You now have two rows to compare (the current record from file2 and the one stored in the hash keyed on the label from file1), so do that for whatever "compare" means in your task
  7. Close file2


Comment on Re^3: Comparing strings from different files

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1057403]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2014-07-29 12:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (217 votes), past polls