nine, I did an update to show that the proposed fix doesn’t actually work. The
tests pass but that’s b/c they aren’t testing for instances of that class; a
simple check of the data indicates that the ‘MY::{$plugin}’ is Nil and the
produced object is an Any.
chris
From: Lloyd Fournier <[email protected]<mailto:[email protected]>>
Date: Saturday, February 4, 2017 at 7:40 AM
To: Chris Fields <[email protected]<mailto:[email protected]>>,
"[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: Re: [perl #130709] Issue with dynamic loading of module
looks similar to:
https://rt.perl.org/Public/Bug/Display.html?id=130535<https://urldefense.proofpoint.com/v2/url?u=https-3A__rt.perl.org_Public_Bug_Display.html-3Fid-3D130535&d=DwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=fbHa8Njtvh9VmSnzJxiEUTW9NWDwMMwQAzhgZDO41GQ&m=tNfZnbxhTQyMX-PjVfJyNu9PxenVYrHF-bu-bi0Ngyw&s=ayfJt8ohQ2RMSLmkUBKBROo-yuE64w1RoiE6fh0SyfY&e=>
require seems to be pretty broken since the lexical module thing. Unfortunately
our tests weren't good enough to pick this up ( I think it's because it's being
required dynamically outside the mainline).
LL