Syntactic Confectionery Delight | |
PerlMonks |
Re: Comparing FILE1 value to FILE2 range and printing matchesby Laurent_R (Canon) |
on Oct 18, 2014 at 11:12 UTC ( [id://1104227]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|