Name

ConfigAllAfter — specify config files to read as part of every catalog's configuration, after all its files are read in first

SYNOPSIS

config_file...

DESCRIPTION

Specify configuration files to read as a part of every catalog's configuration, after all other corresponding catalog config files are processed.

This is useful to catch user configuration errors, supply missing values, or force your settings over user's configuration.

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive

EXAMPLES

Example: Setting ConfigAllAfter

ConfigAllAfter check_actions.cfg check_variables.cfg

NOTES

AVAILABILITY

ConfigAllAfter is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 400

['ConfigAllAfter',   'root_dir_array',   'catalog_after.cfg'],

Source: lib/Vend/Config.pm
Line 3934 (context shows lines 3934-3950)

sub parse_root_dir_array {
my($var, $value) = @_;
return [] unless $value;

no strict 'refs';
my $c = ${"Global::$var"} || [];

my @dirs = grep /\S/, Text::ParseWords::shellwords($value);

foreach my $dir (@dirs) {
  $dir = "$Global::VendRoot/$dir"
    unless file_name_is_absolute($dir);
  $dir =~ s./+$..;
  push @$c, $dir;
}
return $c;
}

AUTHORS

Interchange Development Group

SEE ALSO

ConfigAllBefore(7ic)

DocBook! Interchange!