Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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) {

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://918505]
Front-paged by Arunbear
[RonW]: james28909 Why not write a Perl program to do the task?
[choroba]: RonW Yes, but then, one day, they needed to switch from FTP to SFTP, and... but I can't give the whole talk away here :)
[RonW]: Tunnel FTP through stunnel?
[james28909]: i guess i should have done it in perl. i bet it woulnt have taken me 5 hours to figure out haha
[choroba]: In the end, I was able to upgrade Perl from 5.8.3 to 5.22 and install Net::SFTP::Foreign , at least for the task involved

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2017-05-22 21:43 GMT
Find Nodes?
    Voting Booth?