Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 95635
Status: rejected
Priority: 0/
Queue: CGI

Owner: Nobody in particular
Requestors: m.krayushin [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: misprint in find_tempdir subroutine
Date: Wed, 14 May 2014 14:37:40 +0400
To: bug-CGI [...]
From: Maxim Krayushin <m.krayushin [...]>
Download (untitled) / with headers
text/plain 318b
Hello, I've found a misprint in the module in find_tempdir subroutine: 4205c4205 < do {$TMPDIRECTORY = $_; last} if -d $_ && -w _; --- Show quoted text
> do {$TMPDIRECTORY = $_; last} if -d $_ && -w $_;
-- Best regards, Maxim Krayushin e-mail: skype: voodoovin web:
Subject: Re: [ #95635] misprint in find_tempdir subroutine
Date: Wed, 14 May 2014 05:55:55 -0700
To: Maxim Krayushin via RT <bug-CGI [...]>
From: Mark Stosberg <mark [...]>
Download (untitled) / with headers
text/plain 407b
Show quoted text
> < do {$TMPDIRECTORY = $_; last} if -d $_ && -w _; > ---
> > do {$TMPDIRECTORY = $_; last} if -d $_ && -w $_;
The existing code is correct and in fact better because it will run a bit faster. If you had creating a test case before you submitted, you would have seen that the existing code works as expected. See perldoc -f -X And scroll to the bottom to see "_" explained. Mark
Download (untitled) / with headers
text/plain 241b
This issue has been copied to: 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.
Rejecting as per reasons explained above

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to