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

Re: Load table with row/column names

by Laurent_R (Monsignor)
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1087980]
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 2015-10-09 09:42 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (237 votes), past polls