Subject: | $ENV{PAR_GLOBAL_TMPDIR} not used |
The documentation for specifying the tempdir says that the following
environment variables are checked in order:
PAR_GLOBAL_TMPDIR
TMPDIR
TEMPDIR
TEMP
TMP
I wasn't able to get PAR_GLOBAL_TMPDIR to work - the cache was being
created in /tmp. Examination of PAR::SetupTemp shows that
PAR_GLOBAL_TMPDIR is never used (a recursive grep of the distribution
only finds it in ChangeLog and POD). PAR_TMPDIR is used:
foreach my $path (
(map $ENV{$_}, qw( PAR_TMPDIR TMPDIR TEMPDIR TEMP TMP )),
qw( C:\\TEMP /tmp . )
) {
But the documentation says that users should set PAR_GLOBAL_TMPDIR instead.