[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Directory names hard-coded in Texinfo Perl scripts

From: Per Bothner
Subject: Re: Directory names hard-coded in Texinfo Perl scripts
Date: Fri, 17 Dec 2021 04:27:33 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0

On 12/16/21 23:29, Eli Zaretskii wrote:
Personally, I find the relative-path method much easier, but I will go
with anything Gavin considers as the preferable solution.

I'm not sure what you mean by "the relative-path" method and how it differs
from my example code.  Reading the file "../share/texinfo/foo.info" doesn't
work, since that is relative to $PWD *unless* there is logic to change
the effective $PWD.  And how do figure out how what to change the $PWD to?
You do something like my example code - or use a library that does
something similar.
        --Per Bothner
per@bothner.com   http://per.bothner.com/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]