Re: Script for auto conf

2014-12-30 Thread Alan Glait
t; > * read the destination config file (some_file.conf) into $Config_current > * read the config in-tray (param.txt) into $Config_new > * add the in-tray parameters to $Config_current > > foreach my $key (keys($Config_new->{_}) { >$Config_current->{_}->{$key} = $Con

Script for auto conf

2014-12-29 Thread Alan Glait
Hi ! I have the Idea to make a perl script (better than in bash) to make some configuration on linux. I think to have some files like param.txt with some lines like: param_one = ZZZ XX VV param_two = Z param_three = X so need to check if param_one is in some_file.conf and if it is the