Prevent autovivification of empty definitions for unknown variables
This commit is contained in:
parent
d8317a730d
commit
1f31b0e570
1 changed files with 2 additions and 0 deletions
|
@ -2405,10 +2405,12 @@ sub split_by_comma {
|
|||
}
|
||||
sub default {
|
||||
my $v = shift;
|
||||
return undef if !defined($variables{'merged'}{$v});
|
||||
return $variables{'merged'}{$v}{'default'};
|
||||
}
|
||||
sub minimum {
|
||||
my $v = shift;
|
||||
return undef if !defined($variables{'merged'}{$v});
|
||||
return $variables{'merged'}{$v}{'minimum'};
|
||||
}
|
||||
sub opt {
|
||||
|
|
Loading…
Reference in a new issue