From 180585b31cc4f22194348e6f2968b30a0f164d23 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- C4/Installer/PerlDependencies.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm index 535a377..09c9908 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' => 'core', + 'required' => '1', + 'min_ver' => '9999.13', + }, }; 1; -- 1.7.10.4