From: Sven Schöling Date: Wed, 29 Aug 2012 09:38:12 +0000 (+0200) Subject: InstallationCheck: Module mit leerer Importliste prüfen, weil sonst diverse Module... X-Git-Tag: release-3.0.0beta1~264^2~8^2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a730d34238db1c8665a8b5e6973f19e5b3757820;p=kivitendo-erp.git InstallationCheck: Module mit leerer Importliste prüfen, weil sonst diverse Module den Namespace verpesten --- diff --git a/SL/InstallationCheck.pm b/SL/InstallationCheck.pm index 6ae14948b..397a99f24 100644 --- a/SL/InstallationCheck.pm +++ b/SL/InstallationCheck.pm @@ -60,7 +60,7 @@ sub module_available { my $module = $_[0]; my $version = $_[1] || '' ; - my $got = eval "use $module $version; 1"; + my $got = eval "use $module $version (); 1"; if ($got) { return ($got, $module->VERSION);