Prevent warning for old undefined values (#1470)
This commit is contained in:
parent
06cfbc9486
commit
b4748ddf91
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user