# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76276] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76276 >
<moritz_> and $() defaults to $/.ast if it exists <masak> rakudo: "foo" ~~ /foo/; say "What kind of $()l am I?" <p6eval> rakudo 451b40: OUTPUT«What kind of l am I?» <masak> hm, shouldn't that say 'fool'? <pmichaud> no <pmichaud> spec was changed <pmichaud> .ast is undef if not set. <pmichaud> (it used to be .Str if not set) <masak> ahah <masak> right. <masak> good. that's separation for you. <moritz_> pmichaud: $() should be $/.ast // $/.Str iirc <pmichaud> moritz_: oh, that's possible, yes. <moritz_> S05:2577:C<$()> is a shorthand for C<$($/.ast // ~$/)>. * masak submits rakudobug