Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Comparing FILE1 value to FILE2 range and printing matches

by Laurent_R (Canon)
on Oct 18, 2014 at 11:12 UTC ( [id://1104227]=note: print w/replies, xml ) Need Help??


in reply to Comparing FILE1 value to FILE2 range and printing matches

The simple fix suggested by RichardK is working, but is not a very efficient way to do such a thing, as pointed by RichardK himself. It is usually better to load at least one of the files into memory (as an array, a hash or some other data structure, but, as Richard already asked, we would need to know how large your two files are in order to be able to provide more guidance on how to do it.
  • Comment on Re: Comparing FILE1 value to FILE2 range and printing matches

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-19 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found