From f6f4d5b5dfa615753c7bdd3ac3b7e15cfd2c506f Mon Sep 17 00:00:00 2001 From: short <> Date: Thu, 10 Jul 2003 12:53:25 +0000 Subject: [PATCH 1/1] Fixed detection of missing Perl packages for RedHat perl-5.8.0-88. - regex '[^\s;]+' is not matched - '[^ ;]+' needed there --- AutoGen.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AutoGen.pm b/AutoGen.pm index 45f6d7e..aa28398 100644 --- a/AutoGen.pm +++ b/AutoGen.pm @@ -39,7 +39,7 @@ BEGIN { use File::Touch; # &touch use POSIX qw(WIFEXITED WEXITSTATUS WIFSIGNALED WTERMSIG WIFSTOPPED WSTOPSIG); HERE - eval "$_\n; 1;" or push @missing,(/^\s*use\s+([^\s;]+)/)[0]; + eval "$_\n; 1;" or push @missing,(/^\s*use\s+([^ ;]+)/)[0]; } die "You are missing some modules - install them by:\n" ."\tperl -MCPAN -e 'install qw(".join(" ",@missing).")'\n" -- 1.8.3.1