package YourModule;

require DynaLoader;

@ISA = qw(... DynaLoader ...);



bootstrap YourModule;

*****

\fIVariables:

    @dl_library_path

    @dl_resolve_using

    @dl_require_symbols

    $dl_debug



\fISubroutines:

    bootstrap($modulename);

    @filepaths = dl_findfile(@names);

    $filepath = dl_expandspec($spec);

    $libref  = dl_load_file($filename);

    $symref  = dl_find_symbol($libref, $symbol);

    @symbols = dl_undef_symbols();

    dl_install_xsub($name, $symref [, $filename]);

    $message = dl_error;

*****

@dl_resolve_using = dl_findfile('-lsocket');

*****

$message = dl_error();

*****

@filepaths = dl_findfile(@names)

*****

@dl_resolve_using = dl_findfile(qw(-L/usr/5lib -lposix));

*****

$filepath = dl_expandspec($spec)

*****

$libref = dl_load_file($filename)

*****

$symref = dl_find_symbol($libref, $symbol)

*****

@symbols = dl_undef_symbols()

*****

dl_install_xsub($perl_name, $symref [, $filename])

*****

bootstrap($module);

