|
|
| P is for Practical | |
| PerlMonks |
Re: correlation between two inputt filesby jethro (Monsignor) |
| on Apr 27, 2012 at 12:38 UTC ( #967617=note: print w/ replies, xml ) | Need Help?? |
|
Just create a HashOfArrays, with reaction number as key and an array of products as data. Fill it with the data from File2.txt. Then read in the File1.txt and for every reactant check the hash for the array of products it can be transformed into.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||