[Koha-patches] Patch 92e20471

LAURENT Henri-Damien henridamien.laurent at biblibre.com
Wed Nov 10 22:56:11 CET 2010


Le 10/11/2010 22:48, Galen Charlton a écrit :
> Hi,
> 
> 2010/11/10 Frédéric Demians <frederic at tamil.fr>:
>> Patch 92e20471 introduces a dependency to Perl 5.10.1 or higher by using a
>> switch statement (around lines 600). It doesn't work anymore with Perl
>> version shipped with Debian Lenny. opac-detail.pl page fails. Its isn't easy
>> to revert since this patch update the DB and add a new syspref.
> 
> Good catch.  Colin had earlier pointed out problems with the Switch
> module, and I agree with him that since it is deprecated, it should
> not be used.
> 
> I will not have an opportunity until tomorrow to fix this (by
> replacing the switch with a if/elsif cascade), but if you care to
> submit a patch today, I'll be happy to test and sign off on it.
> Otherwise I'll submit a patch tomorrow.
> 
> Regards,
> 
> Galen
In lenny you can install perl 5.10.
But problem could be on more "exotic" distribution... like CentOS or else...
Is there a concensus on the perl version we should stick to? I know it
has been discussed at some point but... don't recall whether a concensus
was met.

-- 
Henri-Damien LAURENT


More information about the Koha-patches mailing list