]> git.vpit.fr Git - perl/modules/indirect.git/commit
Turn on CvCLONE for all anonymous subs passed as hooks rt47902
authorVincent Pit <vince@profvince.com>
Wed, 15 Jul 2009 16:15:42 +0000 (18:15 +0200)
committerVincent Pit <vince@profvince.com>
Wed, 15 Jul 2009 16:15:42 +0000 (18:15 +0200)
commit4cb0e2cc26fbe39a7a040b090b1a1e6c2380af0f
treed79ecd3a911f37d6b840ee11db55e9c712433ca2
parent5d8477b589d7ed4c4571111036e5b237ad13f6a9
Turn on CvCLONE for all anonymous subs passed as hooks

So that they're cloned later, which seems to fix some strange issues that arose with a5339a6ced4d5e3ad1541320476c3d6bf8ff9408 when the default callbacks were no longer capturing an external pad (which used to make them eligible for cloning).

This fixes RT #47902.
MANIFEST
indirect.xs
t/30-scope.t
t/lib/indirect/Test1/il1.pm [new file with mode: 0644]
t/lib/indirect/Test1/il2.pm [new file with mode: 0644]