The `=` infix operator is a meta operator. That means it takes an infix operator as a sort of "argument".
There is no `+=` operator, it is just the `=` operator combined with the `+` operator. $a += 2; $a [+]= 2; # more explicitly take the + operator as an argument to the = operator So if you want to know how to use a similar operator to `+=`, start with the infix operator you want, and add `=` $i = $i +< 0x01; $i [+<]= 0x01; $i +<= 0x01; On Fri, Feb 8, 2019 at 12:20 AM Todd Chester via perl6-users <perl6-us...@perl.org> wrote: > > Hi All, > > Is this the only way to shift left? > > $i = $i +< 0x01 > > $ p6 'my int32 $i=0x00005DAE; say $i.base(0x10); $i = $i +< 0x01; say > $i.base(0x10);' > > 5DAE > BB5C > > > Does we have any of those fancy += ~= ways of doing it? > > Many thanks, > -T