Wed Oct 06 06:39:45 2010: Request 61927 was acted upon.
Transaction: Ticket created by JFITZ
       Queue: PAR
     Subject: $ENV{PAR_GLOBAL_TMPDIR} not used
   Broken in: 1.002
    Severity: Important
       Owner: Nobody
  Requestors: jf...@cpan.org
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=61927 >


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.

Reply via email to