The standard Perl interface to the dynamic linking
mechanisms available on many platforms.
Use DynaLoader like this:
@ISA = qw(... DynaLoader ...);
calls your module's bootstrap routine directly if the module
is statically linked into Perl. Otherwise the module inherits the
method from DynaLoader, which loads
in your module and calls its
If you want to extend DynaLoader to a new architecture, you need to
know about its internal interface. The variables it
Enables internal debugging messages on the Perl side of the DynaLoader;
by default, is set to
if that is defined.
A similar debugging variable is
added to the C code (see
) and enabled if Perl was
built with the
flag, or it can be set via the
environment variable. Set to
for minimal information or
higher for more detail.
Default list of directories to search for libraries;
initialized to hold the list of
also be initialized with other directories
that can be determined from the environment at runtime.
List of additional libraries or other shared objects for
resolving undefined symbols. Required only on
platforms without automatic handling for dependent libraries.
List of one or more symbol names in the library/object file
to be dynamically loaded. Only required on some platforms.
Of the following subroutines,
are standard across all platforms and are defined in
. The others are defined in
file that supplies the implementation
for the platform.