X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/6f92326a8f2c1f9205a062d32ed8f1abdaa4b7b5..c6a27f90a8e644ed00910aeddaff38c74b513032:/SL/InstallationCheck.pm diff --git a/SL/InstallationCheck.pm b/SL/InstallationCheck.pm index 6ae14948b..d29578b41 100644 --- a/SL/InstallationCheck.pm +++ b/SL/InstallationCheck.pm @@ -15,7 +15,7 @@ BEGIN { { name => "Config::Std", url => "http://search.cpan.org/~dconway/", debian => 'libconfig-std-perl' }, { name => "DateTime", url => "http://search.cpan.org/~drolsky/", debian => 'libdatetime-perl' }, { name => "DBI", version => '1.50', url => "http://search.cpan.org/~timb/", debian => 'libdbi-perl' }, - { name => "DBD::Pg", version => '1.49', url => "http://search.cpan.org/~dbdpg/", debian => 'libdbd-pg' }, + { name => "DBD::Pg", version => '1.49', url => "http://search.cpan.org/~dbdpg/", debian => 'libdbd-pg-perl' }, { name => "Email::Address", url => "http://search.cpan.org/~rjbs/", debian => 'libemail-address-perl' }, { name => "FCGI", version => '0.72', url => "http://search.cpan.org/~mstrout/", debian => 'libfcgi-perl' }, { name => "JSON", url => "http://search.cpan.org/~makamaka", debian => 'libjson-perl' }, @@ -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);