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.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Config.pm
Line 398

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

Source: lib/Vend/Config.pm
Line 3915 (context shows lines 3915-3931)

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!