[dev-context] [Fwd: Re: [NTG-context] "uninitialized value"]

Taco Hoekwater taco at elvenkind.com
Thu Feb 3 10:05:22 CET 2005


Hi Hans,

Would you apply this fix please? The problem only shows up using
Patrick's install script, because the 'normal' distributions
use a stub that always calls perl without the -w switch (<sigh>).

Also, it would be prudent to start the scripts with an explicit
"use warnings;" line to prevent these problems in the future.

Greetings, Taco

-------- Original Message --------
Subject: Re: [NTG-context] "uninitialized value"
Date: Thu, 03 Feb 2005 09:18:31 -0500
From: Taco Hoekwater <taco at elvenkind.com>
To: mailing list for ConTeXt users <ntg-context at ntg.nl>
References: <Pine.LNX.4.61.0502021731360.24505 at localhost>

K. David Prince wrote:
> What am I missing?
> 
> Dave

Your system is fine, so no worries. Those warning lines are annoying
but harmless. They'll be fixed in the next release, but in the mean
time, you can change lines 344 and 348 of texexec.pl yourself, if you
dare:

$ diff texexec.pl.old texexec.pl
344c344
< if ($ENV{openin_any} eq 'p') {
---
> if (defined $ENV{openin_any} && $ENV{openin_any} eq 'p') {
348c348,349
< if (($ENV{shell_escape} eq 'f') || ($ENV{SHELL_ESCAPE} eq 'f')) {
---
> if ((defined $ENV{shell_escape} && $ENV{shell_escape} eq 'f') ||
>     (defined $ENV{SHELL_ESCAPE} && $ENV{SHELL_ESCAPE} eq 'f')) {


Greetings, Taco





More information about the dev-context mailing list