in reply to Re: Module development: concurrent versions (Updated)
in thread Module development: concurrent versions (Updated)
Actually, there might be some catches with the shared libraries. I don't know exactly how they are loaded. On Linux, one can load multiple shared libraries defining the same function names and then obtain pointers to functions in desired library. But I don't know if it is done this way everywhere.
On Windows it is possible to dynamically load two dlls with the same name and exporting the same entrypoints (from different directories at least) at the C level.
The problems that arise appear to come from the Perl internal mappings?
How perl's dynaloader works, is one of those areas of dark, cross-platform voodoo that I find totally impenetrable.
|
|---|