On 05/29/2015 12:08 AM, Kang-min Liu (via RT) wrote:
> # 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.

Inside double quotes ("") you can interpolate values with { }, for
example like this:

> say "I can has { (2, 3, 4, 100).pick() } cheezburgers"

so "{", "}" is actually interpolating the string ", " into the outer
string that contains the { }.

Hope that clears things up
  - Timo

Reply via email to