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

Re: Relocatable perl

Thread Previous | Thread Next
Alan Burlison
May 3, 2001 09:38
Re: Relocatable perl
Message ID:
Graham Barr wrote:

> > That's fine, however it is a different mechanism to that used on Solaris
> > (and VMS, and Win32...)  Rather than perpetuating a series of
> > platform-spefific hacks it would be preferable to have a generic
> > get_exe_path() function and then to do all the other path fixups in a
> Do we not have that already ? How is $^X set

No, that's just set from argv[0] AFAIK.  We need the full path of the
executable, even when accessed via a symlink.

Alan Burlison

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