Prevent warning for old undefined values (#1470)

This commit is contained in:
Xavier Guimard 2018-07-02 09:26:40 +02:00
parent 06cfbc9486
commit b4748ddf91

View File

@ -56,6 +56,7 @@ sub set {
if ( ref $oldValue ) {
die "$key seems to be a hash, modification refused";
}
$oldValue //= '';
push @list, [ $key, $oldValue, $pairs{$key} ];
}
unless ( $self->yes ) {