diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-10-18 15:25:19 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-10-18 15:25:19 +0000 |
commit | 3585ee8bdb3afe7c601b4f6135ee5a17be0c6178 (patch) | |
tree | b4c17ec1091a70a57857d57ee103cb037ecb8e7a | |
parent | 8a8ef332d63b3d30c88e5b63075faa1481fba81d (diff) | |
download | drakwizard-3585ee8bdb3afe7c601b4f6135ee5a17be0c6178.tar drakwizard-3585ee8bdb3afe7c601b4f6135ee5a17be0c6178.tar.gz drakwizard-3585ee8bdb3afe7c601b4f6135ee5a17be0c6178.tar.bz2 drakwizard-3585ee8bdb3afe7c601b4f6135ee5a17be0c6178.tar.xz drakwizard-3585ee8bdb3afe7c601b4f6135ee5a17be0c6178.zip |
(commit) simplify somewhat
-rw-r--r-- | common/Varspaceval.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/Varspaceval.pm b/common/Varspaceval.pm index ce2f5e54..2ce97f4c 100644 --- a/common/Varspaceval.pm +++ b/common/Varspaceval.pm @@ -57,7 +57,8 @@ sub commit { no warnings; $val = $hash->{$key}; delete $hash->{$key}; - $output .= defined $val ? $pre . $key . $eq . $val . $rest . "\n" : $pre . $key . $eq . $val . $rest; + my $out_val = $pre . $key . $eq . $val . $rest; + $output .= defined $val ? $out_val . "\n" : $out_val; } #appending added parameters foreach (keys %$hash) { |