This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #75656] lvalue subs don't copy on write
authorFather Chrysostomos <sprout@cpan.org>
Mon, 26 Jul 2010 08:52:48 +0000 (10:52 +0200)
committerRafael Garcia-Suarez <rgs@consttype.org>
Mon, 26 Jul 2010 08:52:48 +0000 (10:52 +0200)
commitf71f472facac5b530b24a8ff8a79a629776411e0
tree84fec754d1794c9189e66e4fa5d19c56d0fc92af
parent0fe688f528b0e1b5bef6fb30d5e45316430e8a41
[perl #75656] lvalue subs don't copy on write

The attached patch teaches pp_leavesublv about kine.

For the record, a binary search points its digit at:

From: Nicholas Clark <nick@ccl4.org>
Date: Mon, 6 Jun 2005 09:08:45 +0000 (+0000)
Subject: Shared hash key scalars can be safely copied as shared hash key scalars

Shared hash key scalars can be safely copied as shared hash key scalars all the time.
pp_hot.c
t/op/sub_lval.t