slydog has asked for the wisdom of the Perl Monks concerning the following question:
InstallDir = /usr/local/me .... cfgFile = [InstallDir]/conf/me.cfg
cfgFile = [ConfigDir]me.cfg ... my $cfg = "me.cfg"; my $configDir = "/usr/local/me/conf/"; # Unix/Linux #my $configDir = "C:\\Program Files\\me\\conf\\"; # Win32 my $vars = new ModuleName($cfg, ConfigDir => $configDir);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Variables in Config Files....
by Limbic~Region (Chancellor) on May 14, 2003 at 23:43 UTC | |
Re: Variables in Config Files....
by grantm (Parson) on May 15, 2003 at 00:12 UTC | |
Re: Variables in Config Files....
by hiseldl (Priest) on May 15, 2003 at 14:33 UTC |