Note that = is actually a meta operator that can take an infix operator as an argument
So $a += 1 is really short for $a [+]= 1 On Fri, Oct 5, 2018 at 1:02 AM Todd Chester <toddandma...@zoho.com> wrote: > > > > On 10/4/18 12:13 PM, Brandon Allbery wrote: > > It's fine syntactically, but I think has no effect because it'd be '$v = > > $v' after the '+|='. Conceivably some future version of rakudo could > > warn about it having no effect. > > That explains it. Thank you!