This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
When assigning to $^P, don't zero $DB::single, $DB::trace and $DB::signal.
authorNicholas Clark <nick@ccl4.org>
Sat, 29 May 2010 15:23:53 +0000 (16:23 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 29 May 2010 15:23:53 +0000 (16:23 +0100)
commit4c0f30d62c000e3bbbd4f45eb9fd4bd4b4015cf9
tree50f52f138ed4b46ec2fb525fc88ffe7818da188b
parent261c990ef860580c9092985d3f4629073a671b2f
When assigning to $^P, don't zero $DB::single, $DB::trace and $DB::signal.

Previously, whenever a true value was assigned to $^P, all 3 were set to 0.
Now only set them to 0 if they aren't already SvIOK().

Resolves RT #72422.
perl.c
t/op/magic.t