[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: PATCH 5.005_63 Document super-obscure feature of chdir()



Tom Christiansen <tchrist@chthon.perl.com> writes:

> Do you believe that users of Perl have so little understanding of what a
> home directory is that we should teach them how the precise
> determination is made for each and every operating system, and that
> these clueless ones will actually get something out of it?

I think you need to explain it a little bit, since otherwise you leave
very undefined what happens if HOME isn't set, and I for one wouldn't have
thought of it falling back on LOGDIR since I never use that variable.

Actually, if you just say "home directory," my immediate assumption is
that Perl will do a getpwnam() and use the home directory field.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>


Follow-Ups from:
merlyn@stonehenge.com (Randal L. Schwartz)
References to:
Tom Christiansen <tchrist@chthon.perl.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]