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

People
Owner: Nobody in particular
Requestors: m.krayushin [...] net-probe.ru
Cc:
AdminCc:

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



MIME-Version: 1.0
X-Spam-Status: No, score=-0.273 tagged_above=-99.9 required=10 tests=[BAYES_20=-0.001, RP_MATCHES_RCVD=-0.272] autolearn=ham
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"; format="flowed"
Message-ID: <53734774.1090402 [...] net-probe.ru>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -0.273
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 89F36240386 for <cpan-bug+CGI [...] hipster.bestpractical.com>; Wed, 14 May 2014 06:37:53 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fTJ9TJRKLKem for <cpan-bug+CGI [...] hipster.bestpractical.com>; Wed, 14 May 2014 06:37:52 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id EAAB2240381 for <bug-CGI [...] rt.cpan.org>; Wed, 14 May 2014 06:37:51 -0400 (EDT)
Received: (qmail 22251 invoked by alias); 14 May 2014 10:37:49 -0000
Received: from mail.net-probe.ru (HELO mail.net-probe.ru) (217.144.102.39) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Wed, 14 May 2014 03:37:45 -0700
Received: from localhost.localdomain (unknown [217.144.102.98]) by mail.net-probe.ru (Postfix) with ESMTPA id 1E9F21CF4007 for <bug-CGI [...] rt.cpan.org>; Wed, 14 May 2014 14:37:39 +0400 (MSD)
Delivered-To: cpan-bug+CGI [...] hipster.bestpractical.com
Subject: CGI.pn: misprint in find_tempdir subroutine
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110501 Mandriva/3.1.10-0.1mdv2010.0 (2010.0) Lightning/1.0b2 Thunderbird/3.1.10
Return-Path: <m.krayushin [...] net-probe.ru>
X-RT-Mail-Extension: cgi
X-Original-To: cpan-bug+CGI [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Date: Wed, 14 May 2014 14:37:40 +0400
X-Spam-Level:
To: bug-CGI [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Maxim Krayushin <m.krayushin [...] net-probe.ru>
X-RT-Original-Encoding: iso-8859-1
X-RT-Interface: Email
Content-Length: 318
Download (untitled) / with headers
text/plain 318b
Hello, I've found a misprint in the CGI.pm 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: m.krayushin@net-probe.ru skype: voodoovin web: www.net-probe.ru
MIME-Version: 1.0
X-Spam-Status: No, score=-3.8 tagged_above=-99.9 required=10 tests=[AWL=0.800, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_OUR_RT=-2, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-17758-1400063875-713.95635-4-0 [...] rt.cpan.org>
X-Mailer: MessagingEngine.com Webmail Interface - ajax-0867fb17
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-95635 [...] rt.cpan.org> <53734774.1090402 [...] net-probe.ru> <rt-4.0.18-17758-1400063875-713.95635-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <1400072155.31206.117296265.57E7AE50 [...] webmail.messagingengine.com>
content-type: text/plain; charset="utf-8"
X-Sasl-Enc: VfzQkvj6hA1KZht3USBpeJVJd/4GfWK5lsImUFBOsuBk 1400072155
X-RT-Original-Encoding: utf-8
X-Spam-Score: -3.8
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] messagingengine.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 27491240392 for <cpan-bug+CGI [...] hipster.bestpractical.com>; Wed, 14 May 2014 08:56:08 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fjGQcDEPa28i for <cpan-bug+CGI [...] hipster.bestpractical.com>; Wed, 14 May 2014 08:56:07 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id B6A34240381 for <bug-CGI [...] rt.cpan.org>; Wed, 14 May 2014 08:56:06 -0400 (EDT)
Received: (qmail 1845 invoked by alias); 14 May 2014 12:56:05 -0000
Received: from out1-smtp.messagingengine.com (HELO out1-smtp.messagingengine.com) (66.111.4.25) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Wed, 14 May 2014 05:56:01 -0700
Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 42332212A8 for <bug-CGI [...] rt.cpan.org>; Wed, 14 May 2014 08:55:55 -0400 (EDT)
Received: from web1 ([10.202.2.211]) by compute6.internal (MEProxy); Wed, 14 May 2014 08:55:56 -0400
Received: by web1.nyi.mail.srv.osa (Postfix, from userid 99) id C6058F008F5; Wed, 14 May 2014 08:55:55 -0400 (EDT)
Delivered-To: cpan-bug+CGI [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #95635] CGI.pn: misprint in find_tempdir subroutine
Return-Path: <mark [...] stosberg.com>
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=PaiwktmrHElLTF0/90EzC7XxHkI=; b=TcY 3GAJVX8875YJveBYIx3Qmldxz0Wq0AKruMlThrqvKnFcVX+pF+Ag2asHPAVdV/+R IyEDVobPXF1dXe4qDQ84meYPlTAJ68MSd2WenbbKftJ0xTK7VI8SYYF0itjPseW3 ib+vakSjBtEklVHE0IxeaW9+qMKRTi4Orcs8wcUU=
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+CGI [...] hipster.bestpractical.com
X-RT-Mail-Extension: cgi
Date: Wed, 14 May 2014 05:55:55 -0700
X-Spam-Level:
To: Maxim Krayushin via RT <bug-CGI [...] rt.cpan.org>
Content-Transfer-Encoding: 7bit
From: Mark Stosberg <mark [...] stosberg.com>
RT-Message-ID: <rt-4.0.18-5634-1400072168-1601.95635-0-0 [...] rt.cpan.org>
Content-Length: 407
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
X-RT-Interface: REST
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
RT-Message-ID: <rt-4.0.18-18639-1400761326-1218.95635-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 241
Download (untitled) / with headers
text/plain 241b
This issue has been copied to: https://github.com/leejo/CGI.pm/issues/135 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.
MIME-Version: 1.0
In-Reply-To: <53734774.1090402 [...] net-probe.ru>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <53734774.1090402 [...] net-probe.ru>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-5061-1400773080-1539.95635-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 40
Rejecting as per reasons explained above


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.