Article View: news.software.nntp
Article #83332Re: Innreport perl warnings
From: Julien ÉLIE
Date: Sun, 01 Aug 2010 10:10
Date: Sun, 01 Aug 2010 10:10
34 lines
2561 bytes
2561 bytes
Hi Dieter,
> INN package 2.5.2 + Perl 5.12.1:
>
> Use of assignment to $[ is deprecated at /var/lib/news/bin/innreport line
> 677.
> Use of assignment to $[ is deprecated at /var/lib/news/bin/innreport line
> 794.
>
> These warnings did not appear with Perl 5.12.0 or earlier, so I know that
> it is Perl that has changed.
Fix committed (basically, assignments removed).
You also have another call in innreport_inn.pm:
===================================================================
--- innreport_inn.pm 2010-07-30 15:02:07 UTC (rev 9089)
+++ innreport_inn.pm 2010-08-01 10:07:52 UTC (rev 9090)
@@ -2430,7 +2430,6 @@
# Compare 2 dates (+hour), used with sort (arguments $a and $b)
sub datecmp() {
# ex: "May 12 06" for May 12, 6:00am
- local($[) = 0;
# The 2 dates are near. The range is less than a few days that's why we
# can cheat to determine the order. It is only important if one date
# is in January and the other in December.
--
Julien ÉLIE
« -- Dis, je crois avoir entendu parler gothique par là !
-- Tu as des visions, Pamplemus ! » (Astérix)
Technical Details
Message-ID:
<i33h63$8s4$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.amontpellier-159-1-11-82.w90-57.abo.wanadoo.fr!not-for-mailReferences:
<hvbbd5$q5v$1@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <i33h63$8s4$1@news.trigofacile.com> Subject: Re: Innreport perl warnings Date: Sun, 1 Aug 2010 12:10:09 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <hvbbd5$q5v$1@snarked.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.amontpellier-159-1-11-82.w90-57.abo.wanadoo.fr!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 34 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 8bit Injection-Date: Sun, 1 Aug 2010 10:10:11 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-host="amontpellier-159-1-11-82.w90-57.abo.wanadoo.fr:90.57.82.82"; logging-data="9092"; mail-complaints-to="abuse@trigofacile.com" In-Reply-To: <hvbbd5$q5v$1@snarked.org> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18197 X-Original-Bytes: 2396