Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: list values of specific hash keys

by d5e5 (Beadle)
on Feb 27, 2012 at 20:04 UTC ( #956508=note: print w/replies, xml ) Need Help??


in reply to list values of specific hash keys

Could you give an example of data the two files might contain and tell us which records you would like to keep when you merge the files? Maybe you want to keep records that match in some way or maybe you want to eliminate duplicates?

Replies are listed 'Best First'.
Re^2: list values of specific hash keys
by sorenjul (Initiate) on Feb 27, 2012 at 21:14 UTC
    file one: part_number, table file two: part_number, stock, lead_time, etc. I assuming that the number of lines in the two files doesen't match and I only want a file three with the same part numbers as in file two. \Sorenjul

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2023-03-30 07:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (74 votes). Check out past polls.

    Notices?