Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Getting indices of the same value that occurs multiple times in an array...

by reubs85 (Acolyte)
on Aug 04, 2011 at 11:27 UTC ( #918505=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Family    lacM    taba    mori    glyB    gly4
    OG_1    1    0    1    0    0
    OG_2    0    1    0    1    0
    
  2. or download this
    my $a=shift @COUNT;
    my @families=split(/\s+/,$a);
    ...
    foreach my $k (keys %participants) {
        $og_to_gid{$k}=$families[$participants{$k}];
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://918505]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2014-12-29 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls