I'm looking for a Perl module to read options from a config file.
Specifically I need something that will let me read options with
the following precedence:

1 - command line (preferably with Getopt::Long)
2 - $HOME/.$config_file
3 - /etc/$config_file
4 - ./$config_file

where $config_file is whatever filename I happen to specify.

I see several modules on CPAN that purport to do this.  Is there
one in particular that is recommended or widely used?

Thanks
- Gary

=====
PGP Key ID: 071B173D
Fingerprint: ED30 B048 6833 56B4 28C0 CE52 F12B 884A 071B 173D

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to