search for: remung

Displaying 1 result from an estimated 1 matches for "remung".

Did you mean: remund
2007 Mar 27
1
Reading config data from text files
...ase = $which_database_to_use I'm seeking advice as to a good way to read and write to this file. Since I'm assuming that I will control the format of the entries via the interface I provide to the users, I could simply use scan() to read the contents of my.cnf into a list and then perhaps remunge them into an array. I know that user-specified (non-default) entries will start with element 8 of the resulting list, and I know each connection specification will consist of six elements in a prescribed order. The problem is, I do not want to assume that the users will not ever modify my.cnf....