Hi jose, please see http://www.shlomifish.org/Files/files/code/bugzilla.patch for my patch against bugzilla 3.2 to get it to compile with recent perls.
On Mon, 26 Feb 2018 05:43:45 +0100 "jose cabrera" <jic...@mail.com> wrote: > On Sunday, February 25, 2018 at 11:26 PM, "Uri Guttman" wrote... > > > > > > ======================================== > > > syntax error at Bugzilla/Bug.pm line 1085, near "$type qw(dependson > > > blocked)" > > > > > > Here is line 1085: > > > foreach my $type qw(dependson blocked) { > > > my @bug_ids = split(/[\s,]+/, $deps_in{$type}); > > > > put parens around the qw(). it used to be allowed as the () in the for > > loop but not anymore. > > Thanks. > > > > > > > ======================================== > > > Can't use global @_ in "my" at Bugzilla/Bug.pm line 1134, near "= @_" > > > > > > Here is line 1133, 1134, 1135: > > > sub _check_dup_id { > > > my ($self, $dupe_of) = @_; > > > my $dbh = Bugzilla->dbh; > > > > > Yeah, I could not see anything wrong with it, but what I did was to install > perlbrew and I am downloading 5.8.9, which should be the version that was > released with Bugzilla 3.2. I am going to see if this new change fixes all > of these errors. ;-) Thanks for the support. > > josé > > -- > What if eternity is real? Where will you spend it? Hmmm... > -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/