Re: $ENV HOME on windows
- From: anno4000@xxxxxxxxxxxxxxxxxxxxxx
- Date: 26 Apr 2007 09:06:10 GMT
Petr Vileta <stoupa@xxxxxxxxxxxxx> wrote in comp.lang.perl.misc:
"Ilya Zakharevich" <nospam-abuse@xxxxxxxxx> pí?e v diskusním pøíspìvku
news:f0opmc$27r$1@xxxxxxxxxxxxxxxxxxxxx
What puzzles me deep is why Perl on Windows is not faking $ENV{HOME}
if $ENV{HOMEPATH} and $ENV{HOMEPATH} are both present... I think this
One of these should be $ENV{HOMEDRIVE}
would remove at least 10-20% of porting problems...From which hell get you HOME variable? :-)
The suggestion is for Perl to *fake* it in %ENV, deriving the value
from $ENV{HOMEDRIVE} and $ENV{HOMEPATH}. The system environment
doesn't have to have HOME for that.
Anno
.
- Follow-Ups:
- Re: $ENV HOME on windows
- From: A. Sinan Unur
- Re: $ENV HOME on windows
- References:
- $ENV HOME on windows
- From: Bob
- Re: $ENV HOME on windows
- From: Dr.Ruud
- Re: $ENV HOME on windows
- From: Ilya Zakharevich
- Re: $ENV HOME on windows
- From: Petr Vileta
- $ENV HOME on windows
- Prev by Date: Re: FAQ 4.32 How do I strip blank space from the beginning/end of a string?
- Next by Date: Re: use POSIX qw(ceil floor)
- Previous by thread: Re: $ENV HOME on windows
- Next by thread: Re: $ENV HOME on windows
- Index(es):
Relevant Pages
|