Re: Does perl v5.8.9 supports Ubuntu 64 bit?

2018-02-26 Thread jose cabrera
On Monday, February 26, 2018 at 9:31 AM, "Jostein Berntsen" wrote... > > Have you tested with an original Ubuntu package for v.5.8? > > https://launchpad.net/ubuntu/+source/perl/5.8.8-12ubuntu0.8 > Didn't know it was available. Let me try that. Thanks. josé -- What if eternity is real? Wh

Re: Help debugging some old Bugzilla perl scripts

2018-02-26 Thread jose cabrera
On Monday, February 26, 2018 at 4:50 AM, Shlomi Fish" wrote... > 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. Thanks. josé -- What if eternity is real? Where will you spend it? H

Re: Does perl v5.8.9 supports Ubuntu 64 bit?

2018-02-26 Thread jose cabrera
On Monday, February 26, 2018 at 4:26 AM, "Shlomi Fish" wrote... > Hi jose, Hi. > were the only failing tests in op/numconvert? If so, it does not seem serious. > and you can use --force or --notest. That put aside, this is an old version of > perl with many known bugs that have been fixed in la

Does perl v5.8.9 supports Ubuntu 64 bit?

2018-02-25 Thread jose cabrera
Greetings! I just installed perlbrew and I tried installing perl v5.8.9 to prevent trying to fix a bunch of v5.8.9 perl code, but it failed. The first thing that came to mind was x64 vs x32. Can this perl version v5.8.9 be installed on an Ubuntu x64 bit? Thansk. josé -- What if eternity i

Re: Help debugging some old Bugzilla perl scripts

2018-02-25 Thread jose cabrera
On Sunday, February 25, 2018 at 11:48 PM, "Uri Guttman" wrote... > >>> 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 no

Re: Help debugging some old Bugzilla perl scripts

2018-02-25 Thread jose cabrera
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

Help debugging some old Bugzilla perl scripts

2018-02-25 Thread jose cabrera
Greetings! Long story, I had to install Bugzilla v3.2, which was in a WinNT 4. I have now installed Bugzilla v3.2, in the Ubuntu 14.04 server, but I have perl (v5.22.1) and I am getting lots of errors. Once I learn to fix one of these, I can work with the others. ===

Can't use 'defined(@array)'

2018-02-23 Thread jose cabrera
Greetings! I am using perl v5.22.1, and I am debugging an old script. The code is, if (defined($$glob)) { $localconfig{$var} = $$glob; } elsif (defined (@$glob)) { $localconfig{$var} = \@$glob; } elsif (