[perl #77922] [BUG] Can't modify the elements of a Hash created with Hash.new in Rakudo

2011-10-08 Thread Will Coleda via RT
On Sun Sep 19 06:33:09 2010, masak wrote: > rakudo: my $x = Hash.new(a => 1); $x = 2; say $x.perl > rakudo ccde8d: OUTPUT«Cannot modify readonly value␤ in > '&infix:<=>' [...] > * masak submits rakudobug > this makes some perverted sense. > The implementation of hash initialization does indeed

[perl #77922] [BUG] Can't modify the elements of a Hash created with Hash.new in Rakudo

2010-09-19 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #77922] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=77922 > rakudo: my $x = Hash.new(a => 1); $x = 2; say $x.perl rakudo ccde8d: OUTPUT«Cannot mod