Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
while (<IN2>) { chomp $_; $i++; ($pdb_res) = (split /\s+/,$_) [3]; #print "$pdb_res\n"; if ($pdb_res == $value[$i]) {s/100.0/3.0/}; print OUT "$_\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: going through an array
by jeffa (Bishop) on Nov 21, 2004 at 00:26 UTC | |
by Anonymous Monk on Nov 21, 2004 at 00:31 UTC | |
by NetWallah (Canon) on Nov 21, 2004 at 01:50 UTC | |
by steves (Curate) on Nov 21, 2004 at 03:10 UTC | |
by chromatic (Archbishop) on Nov 21, 2004 at 04:08 UTC | |
by Anonymous Monk on Nov 21, 2004 at 00:34 UTC | |
|
Re: going through an array
by steves (Curate) on Nov 21, 2004 at 00:25 UTC | |
|
Re: going through an array
by Zaxo (Archbishop) on Nov 21, 2004 at 07:37 UTC | |
by Anonymous Monk on Nov 21, 2004 at 09:38 UTC |