This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
sv.c: Drop PV when assigning over regexp
authorFather Chrysostomos <sprout@cpan.org>
Mon, 29 Oct 2012 06:49:48 +0000 (23:49 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 30 Oct 2012 19:36:03 +0000 (12:36 -0700)
commita896ab67104cb26016f7f3f97991d6e0720034d0
tree323a4d4778f48a0716d1d1ece321b7195fdd322b
parentf5a11e9a1224cdb2de7d37c009e2fa1aa6c8e8e4
sv.c: Drop PV when assigning over regexp

    $x = ${qr//};
    $x = 3;

On the second line, we don’t need to copy the stringification of the
regexp, since we are just going to clobber it anyway.
sv.c