bug-texinfo
[Top][All Lists]
Advanced

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

Re: Directory names hard-coded in Texinfo Perl scripts


From: Gavin Smith
Subject: Re: Directory names hard-coded in Texinfo Perl scripts
Date: Sat, 18 Dec 2021 14:44:39 +0000
User-agent: Mutt/1.9.4 (2018-02-28)

On Thu, Dec 16, 2021 at 05:52:45PM -0600, Jacob Bachmeyer wrote:
> If they can have a location fixed relative to the script, the Perl core
> module FindBin and pragmatic module lib can help here:
> 
> use FindBin;
> use lib "$FindBin::Bin/../lib";

texi2any already can find itself for running from a source directory; it
uses Perl facilities to do this.  See the source code in tp/texi2any.pl.



reply via email to

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