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 <bgkriegel@gmail.com>

Comment: Without File:Slurp 1) complains of missing module,
with module then sintax Ok.
No errors.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Changed module from required to optional. The two files in which
it is used are extraneous from the viewpoint of the average user.
This commit is contained in:
Mason James 2013-03-26 19:48:03 +13:00 committed by Jared Camins-Esakov
parent 548845ecee
commit 6d70af92f0

View file

@ -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;