This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Now that proxy subroutines can be unproxied in 2 places without
authorNicholas Clark <nick@ccl4.org>
Fri, 23 Dec 2005 11:36:43 +0000 (11:36 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 23 Dec 2005 11:36:43 +0000 (11:36 +0000)
commit2111d92849f8443baa1adfc372a6bedf4537f3e8
treeae27d1666a9f59615500440137e269ec1d2b9ad2
parent8fb276b815a6ad571450952d0012113a8db9e3f4
Now that proxy subroutines can be unproxied in 2 places without
becoming the same newCONSTSUB, need an explicit check to avoid a
warning about subroutines being redefined, as there has never been
a warning when you assing the same subroutine to a glob's GvCV()

p4raw-id: //depot/perl@26470
sv.c
t/op/gv.t