Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: correlation between two inputt files

by choroba (Cardinal)
on Apr 27, 2012 at 12:36 UTC ( [id://967614]=note: print w/replies, xml ) Need Help??


in reply to correlation between two inputt files

This is how I would proceed:

Create a hash. The keys will be the reaction numbers. The values will be hash references with two keys: 'reactants' and 'products'. The values will be hash references again, use reactants and products respectively as keys. The values can stay undefined. After the hashes are filled, just go over the keys and print out all the tuples in nested loops.

  • Comment on Re: correlation between two inputt files

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-04-25 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found