What's going on here? Shouldn't '...' be a syntax error?
Nope. See perlop:
If you don't want it to test the right operand till the next evaluation, as in sed, just use three dots ("...") instead of two. In all other regards, "..." behaves just like ".." does.
In reply to Re: Perl treats '...' the same as '..'. Why?
by adrianh
in thread Perl treats '...' the same as '..'. Why?
by samtregar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |