Hi,
a) I am looking for a module to handle config files. There are a number of
these modules, like AppCconig. Any consensus about The Right Module for
this?
b) As I develop one one machine and test/deploy on another, I want
constructs in my config file like:
if (`hostname` eq 'dev_box') {
mysql_dsn = 'foobar';
} elsif ((`hostname` eq 'test_box'}
mysql_dsn = 'abracadabra';
...
Any support for that in your module of choice?
I know of the use-just-perl-code approach (with 'do') in the Perl Cookbook,
but I am wondering if new insights exist.
TIA
~henq
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]