Any names in the form -lname are converted into libname. Directories may be specified as -Ldir . Any other names are treated as filenames to be searched for. See DynaLoader.pm for more information. An opaque 'library reference' is returned as a handle for the loaded object.
Returns undef on error.
This is the function that does the real work. Returns one on success and zero on failure. This function is optional and may not necessarily be provided on all platforms. In this case it is possible that the system dynamic linker will unload and then subsequently reload the shared libperl without relocating any references to it from any files DynaLoaded by the previous incarnation of the interpreter. As a result, any shared objects opened by DynaLoader may point to a now invalid 'ghost' of the libperl shared object, causing apparently random memory corruption and crashes.