From 6d70af92f00fcc24aa6dbf5d506d0624f5689ded Mon Sep 17 00:00:00 2001 From: Mason James Date: Tue, 26 Mar 2013 19:48:03 +1300 Subject: [PATCH] Bug 9926 - Missing perl modules in Koha To test: 1) check perl syntax on file $ perl -cw ./misc/migration_tools/koha-svc.pl you should *not* get 'syntax OK' returned from command 2) apply patch, and install File::Slurp module $ sudo cpanm File::Slurp 3) check perl syntax on file $ perl -cw ./misc/migration_tools/koha-svc.pl you should now get 'syntax OK' returned from command Signed-off-by: Bernardo Gonzalez Kriegel Comment: Without File:Slurp 1) complains of missing module, with module then sintax Ok. No errors. Signed-off-by: Jonathan Druart Signed-off-by: Jared Camins-Esakov Changed module from required to optional. The two files in which it is used are extraneous from the viewpoint of the average user. --- C4/Installer/PerlDependencies.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm index 535a377e64..5671b502f0 100644 --- a/C4/Installer/PerlDependencies.pm +++ b/C4/Installer/PerlDependencies.pm @@ -674,6 +674,11 @@ our $PERL_DEPS = { 'required' => '0', 'min_ver' => '3.9', }, + 'File::Slurp' => { + 'usage' => 'Command line scripts', + 'required' => '0', + 'min_ver' => '9999.13', + }, }; 1; -- 2.39.5