Replace — reset directive to a new value, or to its default
Cause configuration directive's value to be emptied and reset to the specified value, or to its default.
This is useful primarily for resetting configuration directives which append to existing data, so there's no other convenient way to reset them to initial values.
Interchange 5.7.0:
Source: lib/Vend/Config.pm
Line 2933 (context shows lines 2933-2941)
sub parse_replace {
my($name, $val) = @_;
return {} unless $val;
$C->{$val} = get_catalog_default($val);
$C->{$name}->{$val} = 1;
$C->{$name};
}