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 }
In reply to Re: loop control
by dsheroh
in thread loop control
by Galen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |