[dummy merge]
Tim Bunce [Wed, 6 Aug 1997 12:00:00 +0000 (00:00 +1200)]
This merge exists so that the p5p version of the patch and the applied
version are both in the history

configpm

index 2a22bfc..8ea1420 100755 (executable)
--- a/configpm
+++ b/configpm
@@ -79,14 +79,8 @@ my $summary_expanded = 0;
 
 sub myconfig {
        return $summary if $summary_expanded;
-       $summary =~ s{
-                     \$(\w+)
-                    }{
-                         defined $Config{$1} 
-                         ? $Config{$1} 
-                         : "not defined"
-                    }xge;
-       $summary =~ s/\$(\w+)/$Config{$1}/ge;
+       $summary =~ s{\$(\w+)}
+                    { my $c = $Config{$1}; defined($c) ? $c : 'undef' }ge;
        $summary_expanded = 1;
        $summary;
 }