projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
stringify looses integerness
[p5sagit/p5-mst-13.2.git]
/
configpm
diff --git
a/configpm
b/configpm
index
fcf4e3d
..
8ea1420
100755
(executable)
--- a/
configpm
+++ b/
configpm
@@
-79,7
+79,8
@@
my $summary_expanded = 0;
sub myconfig {
return $summary if $summary_expanded;
- $summary =~ s/\$(\w+)/$Config{$1}/ge;
+ $summary =~ s{\$(\w+)}
+ { my $c = $Config{$1}; defined($c) ? $c : 'undef' }ge;
$summary_expanded = 1;
$summary;
}