bugMHonArc - Bugs: bug #32987, Lots of deprecation warnings with...


You are not allowed to post comments on this tracker with your current authentication level.

bug #32987: Lots of deprecation warnings with Perl 5.12

Submitted by:  Thomas Jost <schnouki>
Submitted on:  Sun 03 Apr 2011 02:09:52 PM UTC  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Undesired Behavior
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Operating System: LinuxPerl Version: 5.12.3
Component Version: 2.6.18Fixed Release: 2.6.19

Sat 19 Jan 2013 02:55:01 PM UTC, comment #2:

Attached patch will solve the error messages.
You can test it by "perl -wc".

Hiroaki KOBAYASHI <hkoba>
Sun 29 Jan 2012 07:51:36 PM UTC, comment #1:

I added 'no warnings qw(deprecated)' pragmas to files affected.

Will investigate if removal of defined(%hash) usage is safe
at a later date.

Ran some quick tests with perl 5.14, and pragmas suppressed
the warnings and mhonarc appears to function as expected.

Changes available in the latest snapshot build.

Earl Hood <ehood>
Project Administrator
Sun 03 Apr 2011 02:09:52 PM UTC, original submission:


I'm using mhonarc on Arch Linux with Perl 5.12.3.
When I run mhonarc, I have the following messages:

(The /home/.../pkg/usr/ is the build path for the package; the real files are actually installed in /usr/share/perl5/site_perl.)

When running it in a script called by cron, I have to run mhonarc through "perl -X" to disable all warnings.

Thomas Jost <schnouki>


Attached Files
file #27303:  mhonarc-depre-warn-fix.patch added by hkoba (2KiB - text/x-patch - How about just omitting "defined()", as adviced in error diag?)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by hkoba (Updated the item)
  • -unavailable- added by ehood (Posted a comment)
  • -unavailable- added by schnouki (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 22 Apr 2014 02:27:01 AM UTCehoodStatusIn Progress=>Fixed
      Fixed Release=>2.6.19
    Sat 19 Jan 2013 02:49:07 PM UTChkobaAttached File-=>Added mhonarc-depre-warn-fix.patch, #27303
    Sun 29 Jan 2012 07:51:36 PM UTCehoodStatusNone=>In Progress

    Back to the top

    Powered by Savane 3.1-cleanup1