Public bug reported:

$ apt-cache policy bugzilla3
bugzilla3:
  Installed: 3.2.5.1-2
  Candidate: 3.2.5.1-2
  Version table:
 *** 3.2.5.1-2 0
        100 /var/lib/dpkg/status
$ lsb_release -r
Release: 12.04

I see these warnings in the cron burble mails:

<snip>
/etc/cron.daily/bugzilla3:
defined(%hash) is deprecated at 
/usr/share/perl5/Bugzilla/Install/Localconfig.pm line 254.
        (Maybe you should just omit the defined()?)
Use of uninitialized value in lc at /usr/share/perl5/Bugzilla/Search.pm line 
283.
Use of uninitialized value in lc at /usr/share/perl5/Bugzilla/Search.pm line 
284.
Use of uninitialized value in lc at /usr/share/perl5/Bugzilla/Search.pm line 
283.
Use of uninitialized value in lc at /usr/share/perl5/Bugzilla/Search.pm line 
284.
Use of uninitialized value in lc at /usr/share/perl5/Bugzilla/Search.pm line 
283.
Use of uninitialized value in lc at /usr/share/perl5/Bugzilla/Search.pm line 
284.
Use of uninitialized value in lc at /usr/share/perl5/Bugzilla/Search.pm line 
283.
Use of uninitialized value in lc at /usr/share/perl5/Bugzilla/Search.pm line 
284.
defined(%hash) is deprecated at 
/usr/share/perl5/Bugzilla/Install/Localconfig.pm line 254.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at 
/usr/share/perl5/Bugzilla/Install/Localconfig.pm line 254.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at 
/usr/share/perl5/Bugzilla/Install/Localconfig.pm line 254.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at 
/usr/share/perl5/Bugzilla/Install/Localconfig.pm line 254.
        (Maybe you should just omit the defined()?)
Use of qw(...) as parentheses is deprecated at /usr/share/perl5/Bugzilla/Bug.pm 
line 1085.

Suggest

--- a/usr/share/perl5/Bugzilla/Bug.pm   2012-09-27 09:29:01.179924227 +0930
+++ b/usr/share/perl5/Bugzilla/Bug.pm   2012-09-27 09:29:18.524140928 +0930
@@ -1082,7 +1082,7 @@
 
     my %deps_in = (dependson => $depends_on || '', blocked => $blocks || '');
 
-    foreach my $type qw(dependson blocked) {
+    foreach my $type (qw(dependson blocked)) {
         my @bug_ids = split(/[\s,]+/, $deps_in{$type});
         # Eliminate nulls.
         @bug_ids = grep {$_} @bug_ids;


to silence this, though there are many other cases of this usage throughout.

** Affects: bugzilla (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1057217

Title:
  Use of qw(...) as parentheses is deprecated at
  /usr/share/perl5/Bugzilla/Bug.pm line 1085.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bugzilla/+bug/1057217/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to