https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42430
--- Comment #13 from Martin Renvoize (ashimema) <[email protected]> --- That was a fun one.. took me a while to wrap my head around why tests were failing.. then I read the Symbol docs and it all became a bit more clear. >Symbol::delete_package is a bit too powerful. It undefines every symbol that >lives in the specified package. Since perl, for performance reasons, does not >perform a symbol table lookup each time a function is called or a global >variable is accessed, some code that has already been loaded and that makes >use of symbols in package Foo may stop working after you delete Foo, even if >you reload the Foo module afterwards. So, my followup drops the dependency on Symbol::delete_package and replaces it with an inlined method inspired by https://metacpan.org/pod/Class::Unload.. we could actually add Class::Unload as a dependency.. it appears to be well packaged? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
