in reply to Handling different sections in config files
Thank you both for your answers. ++ all around! I will give that code a try BrowserUk. Now I think I will take a shot answering my own question. It came to me as I was re-watching the Matrix before I see Reloaded tomorrow. Go figure, as soon as you take your mind off of the code you get the answer.
If I add an end-of-section tag to each section of the config file, my subs could return on the end-of-section tag and the opening tag for the next section will be queued up and ready to get read.
Maybe I should just convert the config to XML:D
Thanks again everyone.
Good night!
|
|---|