|
From: Wizard <wi...@ne...> - 2002-01-30 21:12:48
|
> I'm thinking that for the Green field sites that perhaps we should have an > 'NMS COnfigurator' which, whilst it needs to be edited once itself, will > infact write the configuration of all the other NMS programs ... I've been writing Perl code since around 1995, and have developed a module that reads all config info from separate config files (name=value). I have used this for several years now. It is very similar to Config::IniFiles, but about 3 times as fast, and makes configuring a script as simple as editing the config file parameters. I use 'use lib "./path-to-pm";' to specify the module location and then use "use Config::DynaConf" to utilize the library. This has worked in every case to-date. Here's the Docs for it (it was offered to the Config::IniFiles group) if anyone's interested: http://www.neonedge.com/perl_tools/Config/ Grant M. |