X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=installer%2Fexternalmodules.pl;h=0d338abf46d02f034bcb72bafa1393c9eabdabdd;hb=2c6d39452af2364463b509d7d18526714bc17b3f;hp=4be9965885acea186a98edc12c0d1697bc38a2d3;hpb=cdbbf1e7d8de0518ded4e122709c24316cdefbe5;p=koha.git diff --git a/installer/externalmodules.pl b/installer/externalmodules.pl old mode 100644 new mode 100755 index 4be9965885..0d338abf46 --- a/installer/externalmodules.pl +++ b/installer/externalmodules.pl @@ -1,12 +1,12 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl # This Script can be used to provide a list of ALL external modules ***used*** (uncommented) in Koha. # It provides you not only the list of modules BUT ALSO the files that uses those modules. # utf8 or warnings or other lib use are not taken into account at the moment. - -use strict; +use Modern::Perl; use C4::Context; + my $dir=C4::Context->config('intranetdir'); qx(grep -r "^ *use" $dir | grep -v "C4\|strict\|vars" >/tmp/modulesKoha.log); $dir=C4::Context->config('opacdir');