Front page | perl.perl5.porters |
Postings from May 2001
Re: Relocatable perl
Thread Previous
|
Thread Next
From:
Alan Burlison
Date:
May 3, 2001 12:11
Subject:
Re: Relocatable perl
Message ID:
3AF1AD62.DF02EDF1@uk.sun.com
Steve Fink wrote:
> Step #2 never fails, and deceives only if someone has messed with
> argv[0]. Which is not uncommon and apparently already confuses perl:
It will fail in the presence of a symlink, e.g.
/usr/local/bin/perl -> /some/other/place/bin/perl. If realpath() is
available it can be used to chase along symlink trails.
Alan Burlison
Thread Previous
|
Thread Next