Hi,
>Date: Thu, 27 Feb 2003 10:11:22 +0800
>From: Autrijus Tang <[EMAIL PROTECTED]>
>To: Markus Jansen <[EMAIL PROTECTED]>
>Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: Loading shared libraries
>Mime-Version: 1.0
>Content-Disposition: inline
>X-Copyright: Copyright 2002 by Autrijus Tang. All rights reserved.
>X-Public-Key: http://autrijus.org/pubkey.asc
>X-Notice: Forwarding of this mail prohibited without written consent.
>User-Agent: Mutt/1.5.1i
>
>On Wed, Feb 26, 2003 at 06:11:48PM +0100, Markus Jansen wrote:
>> Hi Autrijus,
>
>(Cc'ing the list for more insight.)
>
... snip ...
>
>I'd welcome II.1 instead of II.2 if the 'silently load' bits is
>explained better. :-)
>
>Thanks,
>/Autrijus/
thanks for your [snipped away] brilliant insights.
I have done some debugging some days ago (unfortunately, I can't verify
that just now), which makes me think that the DynaLoader::bootstrap
snippet
my $libref = dl_load_file($file, $module->dl_load_flags) or
croak("Can't load '$file' for module $module: ".dl_error());
push(@dl_librefs,$libref); # record loaded object
(maybe also the handling of undefined symbols following) could be
reused in PAR::Heavy.pm.
I somewhat hope that having loaded a file, it will not (implicictly)
loaded a second time, but as I said above, most likely I won't have the
time to verify this assumption this week :-(.
Best regards,
Markus
--
Markus Jansen Senior IS/IT Support Engineer, EED/IT
Ericsson Eurolab Deutschland GmbH Email: [EMAIL PROTECTED]
Ericsson Allee 1 Phone: +49 2407 575 5157
52134 Herzogenrath, Germany Fax : +49 2407 575 7289