Welcome to the Monastery | |
PerlMonks |
Re: Perl script that will read two pdb files with different line numbers and will replace the chain letter from the first to the second fileby Laurent_R (Canon) |
on Jun 22, 2018 at 12:09 UTC ( [id://1217183]=note: print w/replies, xml ) | Need Help?? |
In addition to hippo's comments, please note that nested loops are likely to crucify performances if your files are even moderately large.
You should probably store the values of interest of the first file into a hash and then lookup the hash when reading the second file. This will be faster and easier to implement.
In Section
Seekers of Perl Wisdom
|
|