diff options
-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) { |