The machine would output:foreach i {1 2} j {3 4} { puts $i puts $j }
W/o a need for an integer iterator. The language engine checks for list/array length. Is there something similar in PERL?1 3 2 4
In reply to tcl like 1 loop with two operators by ISAI student
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |