Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Handling different sections in config filesby pzbagel (Chaplain) |
on May 15, 2003 at 06:58 UTC ( [id://258335]=note: print w/replies, xml ) | Need Help?? |
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!
In Section
Seekers of Perl Wisdom
|
|