[perl #24200] string corruption with lvalue sub
authorDave Mitchell <davem@fdisolutions.com>
Sat, 27 Mar 2004 01:54:09 +0000 (01:54 +0000)
committerDave Mitchell <davem@fdisolutions.com>
Sat, 27 Mar 2004 01:54:09 +0000 (01:54 +0000)
commit781e754729fc501417aaa89f25dc83f904a17c5c
treeacd18394b24e1dee6d0d3d8d64564808b9a1195c
parent314d47789e6f2fb6e6cb6d9aa287d0766ea79b45
[perl #24200] string corruption with lvalue sub
Depending on the context, the same substr OP may want to return
a PVLV or an LV on subsequent invcations. If TARG is the wrong
type, use a mortal instead.

p4raw-id: //depot/perl@22599
pp.c
t/op/substr.t