in reply to loop control
Also, if this is the entire loop (i.e., you're not doing anything else after conditionB's &do_something), you may want to consider rewriting it as
foreach (@tmp) { $do_something if !conditionA && conditionB }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: loop control
by Galen (Beadle) on May 22, 2002 at 14:56 UTC | |
by hotshot (Prior) on May 22, 2002 at 15:08 UTC | |
by dsheroh (Monsignor) on May 22, 2002 at 15:09 UTC | |
by Galen (Beadle) on May 22, 2002 at 17:34 UTC |