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

Re: Relocatable perl

Thread Previous | Thread Next
Alan Burlison
May 3, 2001 12:06
Re: Relocatable perl
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About