Front page | perl.perl5.porters |
Postings from May 2001
RE: Relocatable perl
Thread Previous
|
Thread Next
From:
Moore, Paul
Date:
May 1, 2001 01:21
Subject:
RE: Relocatable perl
Message ID:
714DFA46B9BBD0119CD000805FC1F53B01B5AE3B@UKRUX002.rundc.uk.origin-it.com
From: Alan Burlison [mailto:Alan.Burlison@uk.sun.com]
> Solaris will have two new features that may make it possible
> to finally achieve the Holy Grail of a truly relocatable perl.
> The first of these is the ability to refer to a library with
> a path that is relative to the executable (removing the need
> for LD_LIBRARY_PATH hackery) and the second is the ability
> to find out the path of the executable from inside the
> executable (removing the need for PERL5LIB hackery).
FWIW, Win32 has these two features, and Perl on Win32 is fully relocatable -
inasmuch as I can insert a CD with a Perl installation on it, copy it
anywhere I want, and run it. You might want to look at how that works. There
are some issues with hardcoded values in Config.pm and DynaLoader.pm, but
that's probably fixable.
Paul.
Thread Previous
|
Thread Next