On Thu, Jun 16, 2011 at 10:36 AM, Reini Urban <rur...@x-ray.at> wrote: > BTW: The XSLoader API is a joke, really.
Seconded. If there were a better API (or even better a "legal" interposer interface) PAR::Packer wouldn't have to patch the copy of XSLoader.pm that it packs into every pp-generated executable. Same goes for the gross DynaLoader hack to intercept DLL loading there. It uses some - err - non-obvious trick which might also be broken by accident when someone touches DynaLoader.pm. This has already happened once, in Perl 5.10.0 (since reverted), which totally broke PAR::Packer and the only possible remedy would have been to resort to on-the-fly patching like for XSLoader. Cheers, Roderich