When localising a magic value, propagate the readonly flag
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 22 Sep 2003 20:31:19 +0000 (20:31 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 22 Sep 2003 20:31:19 +0000 (20:31 +0000)
commitac117f44706c30c5e23f7295ec8491b4705a1c77
tree208668b31fb423d88021aa00a1df467be65526c8
parentb6c835310a005ce2e1187890772df402e7333876
When localising a magic value, propagate the readonly flag
only if this scalar has \0 magic or has magic without a
'set' method. (follows change #20479 for bug #23141.)
p4raw-link: @20479 on //depot/perl: 33f3c7b8444b48791ad016570a41a23483d750d2

p4raw-id: //depot/perl@21323
scope.c
t/op/local.t