Deprecated use warning

Bug #1674384 reported by Joshua Blake
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mhonarc (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Running on Ubuntu 14.04 LTS, running mhonarc prints to stderr:

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()?)

It appears that the deprecation fixes in the last release did not reach all the places required.

Tags: trusty xenial
Revision history for this message
Daryl Roche (dr-bcchr) wrote :

This also appears to be affecting 16.04.2 as well.

# dpkg -l | grep "\ mhonarc\ \|\ perl-base\ "
ii mhonarc 2.6.19-2 all Mail to HTML converter
ii perl-base 5.22.1-9 amd64 minimal Perl system

# mhonarc --help
Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at /usr/local/share/perl/5.22.1/mhamain.pl line 1565.
Compilation failed in require at /usr/bin/mhonarc line 39.

tags: added: trusty xenial
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mhonarc (Ubuntu):
status: New → Confirmed
Revision history for this message
Daryl Roche (dr-bcchr) wrote :

Please ignore my previous comment. I had a CPAN version of mhonarc installed as well as the Ubuntu package. The Ubuntu packaged version of mhonarc works fine in xenial.

# apt-get install --reinstall mhonarc
# mhonarc -v
  MHonArc v2.6.19+ (Perl 5.022001 linux)
  Copyright (C) 1995-2014 Earl Hood, <email address hidden>
  MHonArc comes with ABSOLUTELY NO WARRANTY and MHonArc may be copied only
  under the terms of the GNU General Public License, which may be found in
  the MHonArc distribution.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.