This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In hsplit, if a normal hash has placeholders then clear them before
authorNicholas Clark <nick@ccl4.org>
Fri, 27 Feb 2004 10:41:39 +0000 (10:41 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 27 Feb 2004 10:41:39 +0000 (10:41 +0000)
commit18026298eff2588a08fb9adea03ddb6fd64c650b
treee73d690ec4ac34a8e58cb899eff28f0e5c1a15e1
parent213ce8b3ce4d3f5793ccaac359c1025cb843f91b
In hsplit, if a normal hash has placeholders then clear them before
splitting. We can do this safely because Storable ensures hsplit is
not called while it builds restricted hashes (actually any hashes)
This change may not make things faster, but now we have the choice.

p4raw-id: //depot/perl@22393
ext/Storable/t/restrict.t
hv.c