The expression is evaluated before the loop starts in order to build the list of items over which to iterate,
and the expression returns either the result of keys or a single scalar depending on whether conditional's condition is true,
so it either loops for every key or just once.
In reply to Re^3: Loop once on condition 1, many times on cond. 2?
by ikegami
in thread Loop once on condition 1, many times on cond. 2?
by punch_card_don
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |