Name

Replace — reset directive to a new value, or to its default

SYNOPSIS

directive_name [value]

DESCRIPTION

Cause another directive's value to be emptied and re-set to the specified value, or to its default.

This is primarily useful for directives which append to existing definition by default, so at first glance there's no way to "clean" them.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Replacing NoCache

Replace NoCache ord special multi reconfig query

NOTES

Capitalization must be exact on each directive.

AVAILABILITY

Replace is available in Interchange versions:

4.6.0-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Config.pm
Line 590

['Replace',       'replace',        ''],

Source: lib/Vend/Config.pm
Line 2888 (context shows lines 2888-2896)

sub parse_replace {
my($name, $val) = @_;

return {} unless $val;

$C->{$val} = get_catalog_default($val);
$C->{$name}->{$val} = 1;
$C->{$name};
}

AUTHORS

Interchange Development Group

SEE ALSO

DatabaseDefault(7ic)

DocBook! Interchange!