From dcf1f3c35bb2a20d8768d2a2151491f2d0e7291f Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 27 Feb 2006 16:31:37 +0000 Subject: [PATCH] addind LWP::Simple and XML::Simple package (required for amazon package) --- misc/Install.pm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/misc/Install.pm b/misc/Install.pm index 8fbedf9749..60af794d01 100644 --- a/misc/Install.pm +++ b/misc/Install.pm @@ -881,6 +881,18 @@ sub checkperlmodules { push @missing, "Net::Z3950"; } } + unless (eval {require LWP::Simple) { + showmessage(getmessage('LWP::Simple'), 'PressEnter', '', 1); + if ($#missing>=0) { # see above note + push @missing, "LWP::Simple"; + } + } + unless (eval {require XML::Simple) { + showmessage(getmessage('XML::Simple'), 'PressEnter', '', 1); + if ($#missing>=0) { # see above note + push @missing, "XML::Simple"; + } + } # # Print out a list of any missing modules -- 2.39.5