# New Ticket Created by  Sam S. 
# Please include the string:  [perl #130604]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=130604 >


When the operators `..` and `...` are used in the same comma-separated
list, without disambiguating parentheses, the results are weird:

    ➜  say 1..2,7,5...2;
    (1..2)

    ➜  say 1..1,7,5...2;
    (1..1 7 5 4 3 2)

    ➜  say 1,7,5...2;
    Unable to deduce arithmetic or geometric sequence from 1,7,5 (or
did you really mean '..'?)
     in block <unit> at -e line 1

Of those examples, the only one that outputs what I expected, is the third one.
What is even going on in the other two?

Reply via email to