EPrints Technical Mailing List Archive

Message: #00176


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Apache/DBI.pm


Hi all,
first message to this list :)

I try to install eprints. system settings see below.

issue:
perl -I /opt/eprints3/perl_lib -c /opt/eprints3/perl_lib/Apache/DBI.pm
Use of qw(...) as parentheses is deprecated 
at /opt/eprints3/perl_lib/Apache/DBI.pm line 264.
Use of qw(...) as parentheses is deprecated 
at /opt/eprints3/perl_lib/Apache/DBI.pm line 288.

solution:
--- /opt/eprints3/perl_lib/Apache/DBI.pm.orig   2012-03-15 08:50:52.031739619 
+0100
+++ /opt/eprints3/perl_lib/Apache/DBI.pm    2012-03-15 08:52:36.402602298 
+0100
@@ -261,7 +261,7 @@
     }

     if ($TaintInOut) {
-        foreach my $key qw{ TaintIn TaintOut } {
+        foreach my $key (qw{ TaintIn TaintOut }) {
             $Connected{$Idx}->{private_Apache_DBI}{$key} =
                 $Connected{$Idx}->{$key};
         }
@@ -285,7 +285,7 @@
     }

     if ($TaintInOut) {
-        foreach my $key qw{ TaintIn TaintOut } {
+        foreach my $key (qw{ TaintIn TaintOut }) {
             $Connected{$Idx}->{$key} =
                 $Connected{$Idx}->{private_Apache_DBI}{$key};
         }
            ]]>



Best regards,
Ulf

-----
eprints-3.3.8
opensuse 12.1 x86
kernel 3.2.9
apache2-prefork-2.2.21
apache2-mod_perl-2.0.5
mysql-community-server-5.5.16
perl-5.14.2

-- 
OntoChem GmbH
Heinrich-Damerow-Str. 4
06120 Halle (Saale)
Germany