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

Re: Relocatable perl

Thread Previous | Thread Next
From:
Alan Burlison
Date:
May 3, 2001 12:06
Subject:
Re: Relocatable perl
Message ID:
3AF1AC48.6BE741FC@uk.sun.com
Jarkko Hietaniemi wrote:

> Last time I looked at this (which is admittedly years ago) I found this
> to be one those small things Ritchie et al didn't think of -- and which
> has therefore grown to be a sadly unportable mess.  Chasing $ENV{PATH},
> never mind how fragile and unreliable that is, is about the only portable
> way one can hope to get any reasonable results with.  Various platforms
> may have their own special system calls or other tricks, but then we are
> in the middle of a #ifdef forest.

What about a fallback mechanism that uses $PATH, but allow it to be
overriden by a platform-specific method?

Alan Burlison

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About