# New Ticket Created by  mt1957 
# Please include the string:  [perl #123928]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=123928 >


There is a processing difference between

*my Buf $raw-bin = Buf.new(0x55 xx 3);*

and

*my Buf $raw-bin .= new(0x55 xx 3);*

The last statement throws an error like;

*Cannot modify an immutable Buf**
**  in method dispatch:<.=> at src/gen/m-CORE.setting:1330**
**  in any  at 
/home/marcel/Languages/Perl6/rakudo/install/languages/nqp/lib/Perl6/Metamodel.moarvm:1**
**  in block <unit> at t/101-binary.t:36**
*
perl version;

This is perl6 version 2015.01-77-gd320f00 built on MoarVM version 
2015.01-21-g4ee4925

Thanks in advance
@MARTIMM

Reply via email to