Wed Jan 18 06:27:35 2012hirling.endre [...] gmail.com - Ticket created
Subject:
CGI.pm typo in find_tempdir
Date:
Wed, 18 Jan 2012 12:27:27 +0100
To:
bug-CGI.pm [...] rt.cpan.org
From:
Endre Hirling <hirling.endre [...] gmail.com>
Hi,
There's a line in find_tempdir that checks for a writable directory:
for (@TEMP) {
do {$TMPDIRECTORY = $_; last} if -d $_ && -w _;
}
I think the "-w _" is a typo, a $ is missing and it causes find_tmpdir
to misbehave.
This is present in the current CPAN version (3.59) in line 4191.
Greetings
Endre
Wed Jan 18 09:13:12 2012MARKSTOS [...] cpan.org - Taken
Wed Jan 18 09:14:31 2012MARKSTOS [...] cpan.org - Correspondence added
That's not a typo, that's correct perl syntax. Review here:
perldoc -f -
And scroll to the bottom. Submit a failing test case if you've found a
bug in CGI.pm
Mark
Wed Jan 18 09:14:32 2012The RT System itself - Status changed from 'new' to 'open'
Wed Jan 18 09:14:32 2012MARKSTOS [...] cpan.org - Status changed from 'open' to 'rejected'
Wed Jan 18 10:08:05 2012hirling.endre [...] gmail.com - Correspondence added
Subject:
Re: [rt.cpan.org #74117] CGI.pm typo in find_tempdir
Date:
Wed, 18 Jan 2012 16:07:58 +0100
To:
bug-CGI.pm [...] rt.cpan.org
From:
Endre Hirling <hirling.endre [...] gmail.com>
Sorry for the false report and many thanks for pointing me to the
right direction. I couldn't find it in the manual at first and was
confused that setting $ENV{TMPDIR} in the script itself is not enough.
Endre
Wed Jan 18 10:08:07 2012The RT System itself - Status changed from 'rejected' to 'open'
Thu May 22 08:12:56 2014LEEJO [...] cpan.org - Correspondence added
This issue has been copied to: https://github.com/leejo/CGI.pm/issues/94 please take all future correspondence there.
This ticket will remain open but please do not reply here.
This ticket will be closed when the github issue is dealt with.
Fri May 23 14:28:10 2014The RT System itself - Queue changed from CGI.pm to CGI
Mon May 26 13:32:28 2014LEEJO [...] cpan.org - Correspondence added
Closed as per previous comment.
Mon May 26 13:32:30 2014LEEJO [...] cpan.org - Status changed from 'open' to 'rejected'