find_config_location — return the location of the requested config file
use Wacs;
scalar find_config_location( | configuration_filename) ; |
scalar configuration_filename
;find_config_location
returns the location of
the requested config file. It first checks the directory specified by
the WACS_CONFIG
environment variable, and then tries
the built-in list of possible WACS configuration file locations. This
list is normally: /etc/wacs.d
, then
/usr/local/etc/wacs.d
and finally /opt/wacs/etc/wacs.d
. If the specified file is not found in any of these locations,
a null string is returned.
Note | |
---|---|
The location specified by the environment variable
|