Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Load table with row/column names

by Laurent_R (Parson)
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 having an uproarious good time at the Monastery: (6)
As of 2014-08-31 10:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls