Fixed detection of missing Perl packages for RedHat perl-5.8.0-88.
authorshort <>
Thu, 10 Jul 2003 12:53:25 +0000 (12:53 +0000)
committershort <>
Thu, 10 Jul 2003 12:53:25 +0000 (12:53 +0000)
 - regex '[^\s;]+' is not matched - '[^ ;]+' needed there

AutoGen.pm

index 45f6d7e..aa28398 100644 (file)
@@ -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"