in reply to Config files in CPAN modules?
Lots of software looks at several places for configfiles. Ie. a systemwide config and a user-specific config. Usually the user-specific config can override the systemwide config (exception is security-type options for instance). User-specific configs usually live in a users home directory (on UNIX as .<appname>rc files, like .cvsrc ).
My advice would be to consider using a 2 configfile type of approach, make it work in all three situations ( system-config + user-config, system-config + no user-config, no system-config + user-config ) and document what overrides what.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Config files in CPAN modules?
by doom (Deacon) on Jul 21, 2006 at 20:44 UTC | |
by mr_mischief (Monsignor) on Jul 21, 2006 at 22:22 UTC | |
Re^2: Config files in CPAN modules?
by sciurius (Sexton) on Jul 21, 2006 at 20:39 UTC |
In Section
Seekers of Perl Wisdom