Name

ConfigAllBefore — specify config files to read as part of every catalog's configuration, before any of its files are read in

SYNOPSIS

config_file...

DESCRIPTION

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

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive

EXAMPLES

Example: Setting ConfigAllBefore

ConfigAllBefore set_actions.cfg set_variables.cfg

NOTES

AVAILABILITY

ConfigAllBefore is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 397

['ConfigAllBefore',   'root_dir_array',   'catalog_before.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

ConfigAllAfter(7ic)

DocBook! Interchange!