From 3585ee8bdb3afe7c601b4f6135ee5a17be0c6178 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 18 Oct 2012 15:25:19 +0000 Subject: (commit) simplify somewhat --- common/Varspaceval.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common') 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) { -- cgit v1.2.1