# New Ticket Created by yves orton # Please include the string: [perl #117299] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=117299 > I consider this a serious bug in 5.14 $ perl5.14.2 -MDevel::Peek -le'print $]; my %hash=("A".."D"); @x= keys %hash; Dump($x[0]);' 5.014002 SV = PV(0x1ace1e0) at 0x1ae27f0 REFCNT = 1 FLAGS = (POK,FAKE,READONLY,pPOK) PV = 0x1af3290 "A" CUR = 1 LEN = 0 So why would a COPY of a key be READONLY? In blead: $ ./perl -Ilib -MDevel::Peek -le'print $]; my %hash=("A".."D"); @x= keys %hash; Dump($x[0]);' 5.017010 SV = PV(0xdf5bd0) at 0xe12398 REFCNT = 1 FLAGS = (POK,IsCOW,pPOK) PV = 0xe159e0 "C" CUR = 1 LEN = 0 Is anyone familiar with this issue? Should I file a ticket? Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"Thread Next