diff options
author | Tim Bunce <Tim.Bunce@ig.co.uk> | 1997-08-07 00:00:00 +1200 |
---|---|---|
committer | Tim Bunce <Tim.Bunce@ig.co.uk> | 1997-08-07 00:00:00 +1200 |
commit | ca8cad5cbc439156ba0552dbc8d7d713d56c0a0e (patch) | |
tree | 2e692bbba6a33847eabf18e6808513b34ec0b4b2 /configpm | |
parent | 3e3baf6d63945cb64e829d6e5c70a7d00f3d3d03 (diff) | |
download | perl-ca8cad5cbc439156ba0552dbc8d7d713d56c0a0e.tar.gz |
Don't use undef value in Config::myconfig
(this is the same change as commit 754da6387aaed7d7ca907de8ac487143097ad5e3, but as applied)
Diffstat (limited to 'configpm')
-rwxr-xr-x | configpm | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |