Exobrain::Config - Reads exobrain config
my $config = $exobrain->config; # Preferred my $config = Exobrain::Config->new; # Acceptable
This reads configuration files for exobrain. This first reads the contents of the user's XDG config directory for exobrain (commonly ~/.config/exobrain) in alphabetical order, and then the ~/.exobrainrc file, if it exists. Data read later will override data earlier in the set.
Writes the contents of a string to the config file specified in the first argument, in the appropriate Exobrain config directory. (Usually ~/.config/exobrain, which will be created if it does not exist.)
Returns the filename written to on success. Raises an exception on failure.
EXOBRAIN_CONFIG environment variable is set, it will be used as the configuration directory to be used. In this case, the user's ~/.exobrainrc file is not read.
Paul Fenwick <email@example.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Paul Fenwick.