Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#703679: mhonarc: perl spews "defined(%hash) is deprecated at ...." at multiple points in the code

32 views
Skip to first unread message

Tomas Forsman

unread,
Mar 22, 2013, 5:10:03 AM3/22/13
to
Package: mhonarc
Version: 2.6.18-2
Severity: normal

Dear Maintainer,

* What led up to the situation?
Ran mhonarc
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
A bunch of warnings about deprecated use of "defined(%hash)"
* What outcome did you expect instead?
Silence


wmaster:~> mhonarc -rcfile /Home/...archive/rcfile.mrc -quiet -outdir /Home/...archive/.../2013-03 /Home/.../archives/.../...2013-03
defined(%hash) is deprecated at /usr/share/mhonarc/mhamain.pl line 1564.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/mhonarc/mhopt.pl line 867.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/mhonarc/readmail.pl line 120.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/mhonarc/readmail.pl line 122.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/mhonarc/readmail.pl line 156.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/mhonarc/readmail.pl line 158.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/mhonarc/readmail.pl line 183.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/mhonarc/readmail.pl line 185.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/mhonarc/readmail.pl line 199.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/mhonarc/readmail.pl line 209.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/mhonarc/readmail.pl line 223.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/mhonarc/readmail.pl line 234.
(Maybe you should just omit the defined()?)


Just changing "if (defined(%hash)) ..." to "if (%hash) ..." as proposed
by "perldoc -tf defined" does the trick.

-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages mhonarc depends on:
ii perl 5.14.2-20

Versions of packages mhonarc recommends:
ii perl [libdigest-md5-perl] 5.14.2-20

mhonarc suggests no packages.

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Jeff Breidenbach

unread,
Mar 23, 2013, 10:00:01 PM3/23/13
to
Thanks for reminder, I'll have a new package uploaded shortly.

Jeff Breidenbach

unread,
Mar 25, 2013, 3:00:07 AM3/25/13
to
Patched as per upstream bug

http://savannah.nongnu.org/bugs/?32987
0 new messages