Looking in my Camel book (1st edition), I see the '..' range operator. The fact that it's really two distinct operators depending on context is mentioned. The wording (regarding context) isn't too different from what's in the current documentation: "perlop: Range Operators". I see no reference to the '...' range (flip-flop) operator in that book.
In perlhist, I see:
"Perl 4 introduced the first Camel book. Really. We mostly just switched version numbers so the book could refer to 4.000."
So, that puts the list context '..' at least at Perl3. AM's response indicates (from O_FLIP) that the scalar flip-flop version was around at Perl1.
Looking in my Camel book (2nd edition), I see the '...' range (flip-flop) operator is now mentioned. So, it looks like that didn't appear until Perl5.
— Ken
In reply to Re: Perl history: when did Perl get a range operator?
by kcott
in thread Perl history: when did Perl get a range operator?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |