Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Load table with row/column names

by Laurent_R (Prior)
on May 30, 2014 at 10:53 UTC ( #1087980=note: print w/ replies, xml ) Need Help??


in reply to Load table with row/column names

Not exactly this way, but you could build a hash of hashes of hashes where you could access your data this way:

my %hash; # ... populate the hash and then possibly something like this: my $value = $hash{chr1}{1092482}{REF};
But your question is too vague, I can't really offer actual code not knowing what you really want to store in your data structure.

Edit: Not only was choroba (++) faster than me to type an answer, but he did make some hypotheses on the data you need to offer a complete solution.


Comment on Re: Load table with row/column names
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (18)
As of 2015-07-01 15:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (6 votes), past polls