# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #67222]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=67222 >
<masak> rakudo: $_ = "(foo,bar,(baz))"; .=subst( /<-[(),]>+/, { "'$/'"
}, :g ); .say
<p6eval> rakudo 6a4d66: OUTPUT«Use of uninitialized valueUse of
uninitialized valueUse of uninitialized value('','',(''))»
<masak> that can't be right.
<pmichaud> I suspect the .=subst
* masak submits rakudobug
<zulon> even with another var ($x eg) this still gives the same result
<pmichaud> looks like a .= bug
<zulon> hm you're right, with $x = $x.subst this works fine
<masak> zulon: there's your workaround, then. :)