NAME

Config::Find::Unix - Config::Find plugin for Unixen

SYNOPSIS

# don't use Config::Find::Unix;
use Config::Find;

ABSTRACT

Config::Find plugin for Unixen

DESCRIPTION

This module implements Config::Find for Unix

The order for searching the config files is:

1  ~/.$name                             [user]
2  /$path_to_script/../etc/$name.conf   [global]
3  /$path_to_script/../conf/$name.conf  [global]
4  /etc/$name.conf                      [global]

although if the environment variable $ENV{${name}_HOME} is defined it does

1  ~/.$name                             [user]
2  $ENV{${name}_HOME}/etc/$name.conf    [global]
3  $ENV{${name}_HOME}/conf/$name.conf   [global]
4  /etc/$name.conf                      [global]

instead.

When the "several configuration files in one directory" aproach is used, the order is something different:

1  ~/.$dir/$name.conf                        [user]
2  /$path_to_script/../etc/$dir/$name.conf   [global]
3  /$path_to_script/../conf/$dir/$name.conf  [global]
4  /etc/$dir/$name.conf                      [global]

(also affected by $ENV{${name}_HOME})

EXPORT

None.

SEE ALSO

Config::Find, Config::Find::Any.

AUTHOR

Salvador Fandiño García, <sfandino@yahoo.com>

COPYRIGHT AND LICENSE

Copyright 2003 by Salvador Fandiño García

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 220:

Non-ASCII character seen before =encoding in 'Fandiño'. Assuming CP1252