Wed Jan 22 09:59:05 2014NHORNE [...] cpan.org - Ticket created
Subject:
Temp file is forced to be in /tmp
SO_DEBUG forces output into /tmp:
open(DEBUG,">>/tmp/Net.WhoisIP.log") or warn "Unable to open /tmp/$0.log";
It ignores the value in $TMPDIR (or $TEMP in Windows).
Wed Jan 22 10:03:10 2014NHORNE [...] cpan.org - Correspondence added
Upon reflection, what this should to is to use File::Spec->tmpdir() to determine the location of the temporary directory.
Wed Jan 22 12:50:04 2014ether [...] cpan.org - Correspondence added
On 2014-01-22 07:03:10, NHORNE wrote:
Show quoted text
> Upon reflection, what this should to is to use File::Spec->tmpdir() to
> determine the location of the temporary directory.
Yes. /tmp doesn't exist on all platforms, and the directory must be unique so that multiple tests can run in parallel (the -j option in prove and HARNESS_OPTIONS).
Wed Jan 22 12:50:04 2014The RT System itself - Status changed from 'new' to 'open'
Wed Jan 22 13:06:28 2014BSCHMITZ [...] cpan.org - Correspondence added
Resolved in latest; 1.15
Wed Jan 22 13:06:28 2014BSCHMITZ [...] cpan.org - Status changed from 'open' to 'resolved'