The difference between the two-dot and three-dot forms is merely that the RHS will not be evaluated on the same pass as the LHS for the three-dot form. Your expression guarantees that a line beginning with 1 and any following lines beginning with 0 will be printed, plus one line that doesn't begin with 0.my @aap = qw(1one two three four 0stop done);
In reply to Re^2: .. operator and not including the condition of right operand
by Roy Johnson
in thread .. operator and not including the condition of right operand
by eXile
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |