in reply to Re: Reversed .= operator
in thread Reversed .= operator

I prefer your solution but for interest here's another using the arg swap metaop:
my $foo = 'foo'; $foo ~= 'bar'; say $foo; # 'foobar' $foo [R~]= 'bar'; say $foo; # 'barfoobar'

Replies are listed 'Best First'.
Re^3: Reversed .= operator
by Laurent_R (Canon) on May 03, 2016 at 20:58 UTC
    Thanks, raiph, I did not know about that reverse argument operator.