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: 79917
Status: resolved
Priority: 0/
Queue: CGI

People
Owner: Nobody in particular
Requestors: flamesworld [...] gmail.com
Cc: CHORNY [...] cpan.org
AdminCc:

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



From flamesworld [...] gmail.com Fri Sep 28 14: 07:15 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-6.219 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
X-Spam-Flag: NO
Content-Type: multipart/alternative; boundary=f46d0408d7ef75bf7904cac6ec77
Message-ID: <CAOL9_POHuk=eVKnAAAG1ExXsEgBdbK9wfKAh9BVicEhPV9J-ZQ [...] mail.gmail.com>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -6.219
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id DD7A0240849 for <cpan-bug+CGI [...] hipster.bestpractical.com>; Fri, 28 Sep 2012 14:07:14 -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 LwujZXl6P2N8 for <cpan-bug+CGI [...] hipster.bestpractical.com>; Fri, 28 Sep 2012 14:07:13 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 6B534240076 for <bug-CGI [...] rt.cpan.org>; Fri, 28 Sep 2012 14:07:13 -0400 (EDT)
Received: (qmail 18206 invoked by uid 103); 28 Sep 2012 18:07:12 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 28 Sep 2012 18:07:12 -0000
Received: from mail-la0-f50.google.com (HELO mail-la0-f50.google.com) (209.85.215.50) by 16.mx.develooper.com (qpsmtpd/0.84/v0.84-167-g4ed6cab) with ESMTP; Fri, 28 Sep 2012 11:07:09 -0700
Received: by lagr15 with SMTP id r15so1202278lag.9 for <bug-CGI [...] rt.cpan.org>; Fri, 28 Sep 2012 11:07:06 -0700 (PDT)
Received: by 10.152.112.136 with SMTP id iq8mr6409196lab.18.1348855626317; Fri, 28 Sep 2012 11:07:06 -0700 (PDT)
Received: by 10.114.25.168 with HTTP; Fri, 28 Sep 2012 11:07:06 -0700 (PDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+CGI [...] hipster.bestpractical.com
Subject: deprecated "defined(@array)"
Return-Path: <flamesworld [...] gmail.com>
X-RT-Mail-Extension: cgi
X-Original-To: cpan-bug+CGI [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=BA9aynWXWRRfrpO9UAnbeBiVgx8LlF4o0IH5dvEKl4U=; b=YXe8vZndatgo4xCva33syWC/7FJcOFEBi5R9JXN4Tp42Uyj4clhU5PIF+PSTTGMwN7 gKdV5ZQOC3v4kDDQCQ8Zvk9JFd1tzpDtcrJUMYnwlfrOf1ZbaTFBKHkMU7YYpxZc+sUY P5cwSgwd5gW8VdTvMV4sy95QFk6lpA6X2rJb9GvCsP9cDsC8WJVh5/KGuKOyGcGLjYU4 RBxpiiyxAhk7GMMNKwLgNr2ZJffvPGjgMOvNskF78uenzh7sVfLI93TpVT1WAFdydIAX vTBJp3+I4Eb2yoUyZjoeGSSucbCTdUlgHU67JsYPnw/lHBge1iTWpy0M/yaHI6XFY0DB zejA==
Date: Fri, 28 Sep 2012 20:07:06 +0200
X-Spam-Level:
To: bug-CGI [...] rt.cpan.org
From: Joe Sullivan <flamesworld [...] gmail.com>
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 302
Download (untitled) / with headers
text/plain 302b
Getting this warning with every use: defined(@array) is deprecated at /usr/lib/perl5/vendor_perl/5.16.0/CGI.pm line 528. (Maybe you should just omit the defined()?) It would seem the recommendation to just removed the defined() seems to work. (Using CGI.pm 3.60 via OpenSUSE 12.2 RPM build)
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 400
From mark [...] summersault.com Mon Oct 1 10: 01:20 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-6.198 tagged_above=-99.9 required=10 tests=[AWL=0.037, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-18459-1348855636-79.79917-4-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-79917 [...] rt.cpan.org> <CAOL9_POHuk=eVKnAAAG1ExXsEgBdbK9wfKAh9BVicEhPV9J-ZQ [...] mail.gmail.com> <rt-3.8.HEAD-18459-1348855636-79.79917-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <5069A215.2020301 [...] summersault.com>
Content-Type: text/plain; charset=UTF-8
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.198
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id AC13C2401A1 for <cpan-bug+cgi [...] hipster.bestpractical.com>; Mon, 1 Oct 2012 10:01:20 -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 uWfptBsafPVU for <cpan-bug+cgi [...] hipster.bestpractical.com>; Mon, 1 Oct 2012 10:01:15 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 6393E2400BB for <bug-cgi [...] rt.cpan.org>; Mon, 1 Oct 2012 10:01:15 -0400 (EDT)
Received: (qmail 3632 invoked by uid 103); 1 Oct 2012 14:01:14 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 1 Oct 2012 14:01:14 -0000
Received: from tanagra.summersault.com (HELO tanagra.summersault.com) (12.161.105.149) by 16.mx.develooper.com (qpsmtpd/0.84/v0.84-167-g4ed6cab) with ESMTP; Mon, 01 Oct 2012 07:01:11 -0700
Received: (qmail 27619 invoked from network); 1 Oct 2012 14:01:08 -0000
Received: from simba.summersault.com (HELO ?192.168.97.182?) (192.168.97.182) by tanagra.summersault.com with SMTP; 1 Oct 2012 14:01:08 -0000
Delivered-To: cpan-bug+cgi [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1
Subject: Re: [rt.cpan.org #79917] deprecated "defined(@array)"
Return-Path: <mark [...] summersault.com>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+cgi [...] hipster.bestpractical.com
X-RT-Mail-Extension: cgi
Date: Mon, 01 Oct 2012 10:00:53 -0400
X-Spam-Level:
To: bug-cgi [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Mark Stosberg <mark [...] summersault.com>
RT-Message-ID: <rt-3.8.HEAD-13079-1349100081-85.79917-0-0 [...] rt.cpan.org>
Content-Length: 180
Download (untitled) / with headers
text/plain 180b
Thanks for the report, Joe. A link to the Perl 5.16 "perldelta" entry which covers this would be helpful. In any case, someone will look into this and get it updated. Mark
From lpsolit [...] gmail.com Mon Aug 12 07: 07:51 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.22 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
X-Spam-Flag: NO
X-RT-Interface: API
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.15.27.133 with SMTP id p5mr25016514eeu.65.1376305653892; Mon, 12 Aug 2013 04:07:33 -0700 (PDT)
Message-ID: <5208C1F3.7010303 [...] gmail.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.22
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id C989C2404A0 for <cpan-bug+CGI.pm [...] hipster.bestpractical.com>; Mon, 12 Aug 2013 07:07:50 -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 RNwkZyF+r4M5 for <cpan-bug+CGI.pm [...] hipster.bestpractical.com>; Mon, 12 Aug 2013 07:07:45 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 059EB24044D for <bug-CGI.pm [...] rt.cpan.org>; Mon, 12 Aug 2013 07:07:44 -0400 (EDT)
Received: (qmail 19088 invoked by alias); 12 Aug 2013 11:07:44 -0000
Received: from mail-ea0-f169.google.com (HELO mail-ea0-f169.google.com) (209.85.215.169) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 12 Aug 2013 04:07:38 -0700
Received: by mail-ea0-f169.google.com with SMTP id z7so3414954eaf.28 for <bug-CGI.pm [...] rt.cpan.org>; Mon, 12 Aug 2013 04:07:33 -0700 (PDT)
Received: from ?IPv6:2a02:1205:34d9:3ad0:21f:c6ff:fe71:982b? ([2a02:1205:34d9:3ad0:21f:c6ff:fe71:982b]) by mx.google.com with ESMTPSA id k3sm56457757een.16.2013.08.12.04.07.32 for <bug-CGI.pm [...] rt.cpan.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Aug 2013 04:07:33 -0700 (PDT)
Delivered-To: cpan-bug+CGI.pm [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
Subject: [rt.cpan.org #79917] deprecated "defined(@array)"
Return-Path: <lpsolit [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=hE4weYME7R4rNNJ7BV62+CipLjUB7+PiqvbvjVT7DoI=; b=TYavczhowsiQxachvCiz/5g4uHNc+DKwVDhJkQ08M04fkgiROP5wRqj3CrJPraIBBc LDaVdVG3Q3OPzUatLg43om0ablvEvn72WFrQiauTOGUfedZ50KljuFQ/bCuucWUkM+sN wnf7oVsb9Y1D7o0j/JLBc8lCF6afL5+FL0kKOjLiKgCW1YYSKTTHCQd9mDIkeVMFEWyW ZiBtBpsjaDQu8w+EQ6woY2D78FimqH9lRLPLEmafBK5gxB/B7Vf3tkdro+zlMNuIhtPo uZrtuuuclZMfa3dOR1xJmXGHit6xVuWHDYWwOORLMcrxA4LjFRpJ0hOcZ/3te4XJRuy4 jcfw==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+CGI.pm [...] hipster.bestpractical.com
X-RT-Mail-Extension: cgi.pm
Date: Mon, 12 Aug 2013 13:07:31 +0200
X-Spam-Level:
To: bug-CGI.pm [...] rt.cpan.org
X-Enigmail-Version: 1.5.2
Content-Transfer-Encoding: 7bit
From: "Frédéric Buclin" <lpsolit [...] gmail.com>
RT-Message-ID: <rt-4.0.16-549-1376305671-617.79917-0-0 [...] rt.cpan.org>
Content-Length: 351
Download (untitled) / with headers
text/plain 351b
This is documented here: http://search.cpan.org/~rjbs/perl-5.16.0/pod/perldiag.pod#defined%28@array%29_is_deprecated "defined(@array) is deprecated (D deprecated) defined() is not usually useful on arrays because it checks for an undefined scalar value. If you want to see if the array is empty, just use if (@array) { # not empty } for example."
From mark [...] stosberg.com Mon Aug 12 07: 11:39 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.9 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_HI=-5] autolearn=ham
In-Reply-To: <rt-4.0.16-549-1376305672-1923.79917-5-0 [...] rt.cpan.org>
X-Mailer: MessagingEngine.com Webmail Interface - ajax-d9f253bf
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-79917 [...] rt.cpan.org> <5208C1F3.7010303 [...] gmail.com> <rt-4.0.16-549-1376305672-1923.79917-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <1376305880.5366.8785343.78E2D285 [...] webmail.messagingengine.com>
content-type: text/plain; charset="utf-8"
X-Sasl-Enc: kWV+05EHjn+gyy5Of8HXVfYkRNbUByykuYRM83w+7yhN 1376305880
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.9
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 D71C52404A0 for <cpan-bug+CGI [...] hipster.bestpractical.com>; Mon, 12 Aug 2013 07:11:38 -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 0Nw+BUuzhX6w for <cpan-bug+CGI [...] hipster.bestpractical.com>; Mon, 12 Aug 2013 07:11:33 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id C4D83240093 for <bug-CGI [...] rt.cpan.org>; Mon, 12 Aug 2013 07:11:32 -0400 (EDT)
Received: (qmail 19572 invoked by alias); 12 Aug 2013 11:11:32 -0000
Received: from new2-smtp.messagingengine.com (HELO new2-smtp.messagingengine.com) (66.111.4.224) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 12 Aug 2013 04:11:25 -0700
Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id CFA7A2B9 for <bug-CGI [...] rt.cpan.org>; Mon, 12 Aug 2013 07:11:20 -0400 (EDT)
Received: from web5 ([10.202.2.215]) by compute4.internal (MEProxy); Mon, 12 Aug 2013 07:11:20 -0400
Received: by web5.nyi.mail.srv.osa (Postfix, from userid 99) id 9856AFA11D3; Mon, 12 Aug 2013 07:11:20 -0400 (EDT)
Delivered-To: cpan-bug+CGI [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #79917] deprecated "defined(@array)"
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=rQ28vB6kTwIxNQmtMkoulRHzG4E=; b=TUp 66cgefSg7Nlp6EOuqvTSd2zCi4rM7jcxRBFcxr5jF5YQU9sPjWkOwM6OVCoQDBMc +Ws+krY302W/tmov++oLzgdemDQbjaBFki7/M5wFMvzi6ENUA9nbZid2hyRzvpZg BpmzNWd6qp5B1+WSLpvuFsnO4R1ZUJDCAXY19GRo=
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+CGI [...] hipster.bestpractical.com
X-RT-Mail-Extension: cgi
Date: Mon, 12 Aug 2013 04:11:20 -0700
X-Spam-Level:
To: Frédéric Buclin via RT <bug-CGI [...] rt.cpan.org>
Content-Transfer-Encoding: 7bit
From: Mark Stosberg <mark [...] stosberg.com>
RT-Message-ID: <rt-4.0.16-530-1376305899-131.79917-0-0 [...] rt.cpan.org>
Content-Length: 47
Thanks, We'll get it taken care of. Mark
MIME-Version: 1.0
In-Reply-To: <CAOL9_POHuk=eVKnAAAG1ExXsEgBdbK9wfKAh9BVicEhPV9J-ZQ [...] mail.gmail.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAOL9_POHuk=eVKnAAAG1ExXsEgBdbK9wfKAh9BVicEhPV9J-ZQ [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-17161-1392223652-1060.79917-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: 651
Download (untitled) / with headers
text/plain 651b
On Fri Sep 28 14:07:15 2012, flamesworld@gmail.com wrote: Show quoted text
> Getting this warning with every use: > > defined(@array) is deprecated at /usr/lib/perl5/vendor_perl/5.16.0/CGI.pm > line 528. > (Maybe you should just omit the defined()?) > > It would seem the recommendation to just removed the defined() seems to > work. > > (Using CGI.pm 3.60 via OpenSUSE 12.2 RPM build)
Line 528 of CGI.pm 3.60 is if (@QUERY_PARAM && !defined($initializer)) { ( https://metacpan.org/source/MARKSTOS/CGI.pm-3.60/lib/CGI.pm#L528 ) also source of CGI.pm 3.60 and current version from git does not contain "defined(@". -- Alexandr Ciornii, http://chorny.net
X-RT-Interface: REST
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
RT-Message-ID: <rt-4.0.18-25657-1400760926-9.79917-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/105 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: <CAOL9_POHuk=eVKnAAAG1ExXsEgBdbK9wfKAh9BVicEhPV9J-ZQ [...] mail.gmail.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAOL9_POHuk=eVKnAAAG1ExXsEgBdbK9wfKAh9BVicEhPV9J-ZQ [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-9590-1406039930-447.79917-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: 64
Previously resolved by faf06265131acac542fd55abb0c27a587107da1d.


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.