fraizerangus has asked for the wisdom of the Perl Monks concerning the following question:
many thanks in advance!?my $counter = 1; for ($iseg = 1; $iseg <= $nseg; $iseg++){ for ($ires = $beginning[$iseg]; $ires <= $ending[$iseg]; $ires++) +{ if ($ires == $interdomainatoms[$counter]) { print STDOUT $interdomainatoms[$counter]; $counter++; } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: if conditional in nested for loop
by Corion (Patriarch) on Apr 30, 2009 at 18:03 UTC | |
|
Re: if conditional in nested for loop
by kennethk (Abbot) on Apr 30, 2009 at 18:07 UTC | |
|
Re: if conditional in nested for loop
by otto (Beadle) on Apr 30, 2009 at 18:30 UTC | |
by fraizerangus (Sexton) on May 05, 2009 at 12:42 UTC | |
by przemo (Scribe) on May 05, 2009 at 12:54 UTC |