develooper Front page | perl.perl5.porters | Postings from April 2001

Re: Relocatable perl

Thread Previous | Thread Next
Alan Burlison
April 30, 2001 09:53
Re: Relocatable perl
Message ID:
Dan Sugalski wrote:

> We don't go quite as far as having the perl executable actually figure out
> its current location and set PERL_ROOT at runtime--we could but it'd make
> linking in the shared-library part of perl (which is also located relative
> to PERL_ROOT) a bit more of a pain. We'd have to do the equivalent of
> dlopen()ing it, rather than have the image activator go find it for us at
> image start time.

That is actually how it works on Solaris - you call back into and ask
it where it found the object file.  You can do this on either the executable
or a shared library.

Alan Burlison

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About