Hi, I need to edit a config file using perl cgi script. i.e., Search with the 'key' string and edit the 'value'.
For eg: below is what I have in the config file "configfile.cfg". Key1=OldValue1 Key2=OldValue2 I want to search for "Key1" and change "OldValue1" to "NewValue1" *(Note that, permission of config file is 600, i want to edit the file without changing permissions)* Thanks and Regards, Alpesh