This merge exists so that the p5p version of the patch and the applied
version are both in the history
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;
}