# New Ticket Created by Kang-min Liu # Please include the string: [perl #125271] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=125271 >
When there are a pair of "{", "}" in the list, quoted with double-quote, it surprises me to see that it is treated as one string ( "{...}" ) instead of two. > perl6 --version This is perl6 version 2015.03 built on MoarVM version 2015.03 > perl6 > ["foo","{","}","bar"].join("-").say foo-,-bar > ["foo","{","baz","}","bar"].join("-").say ===SORRY!=== Error while compiling <unknown file> Two terms in a row at <unknown file>:1 ------> ["foo","{","⏏baz","}","bar"].join("-").say expecting any of: infix stopper infix or meta-infix statement end statement modifier statement modifier loop > ["foo",'{',"baz",'}',"bar"].join("-").say foo-{-baz-}-bar