diff options
-rw-r--r-- | common/Varspaceval.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/Varspaceval.pm b/common/Varspaceval.pm index 2ce97f4c..3295426c 100644 --- a/common/Varspaceval.pm +++ b/common/Varspaceval.pm @@ -55,8 +55,7 @@ sub commit { } next if !exists $hash->{$key}; #Elt has been removed no warnings; - $val = $hash->{$key}; - delete $hash->{$key}; + $val = delete $hash->{$key}; my $out_val = $pre . $key . $eq . $val . $rest; $output .= defined $val ? $out_val . "\n" : $out_val; } |