chrisfane Posted July 30, 2007 Share Posted July 30, 2007 i have a number of config files, which the user has a choice to choose which one they want to use. i need to pull a system description for each, which in the past where i only have to work with a single file i have just included and taken the data from there. unfortunalty i then cannot just include the next file, as the value of my $sysname doesnt get overwritten by its new value. is there a way to uninclude a previously included file ? alternately i think im going to have a to read the specific value of " $dbname="system description"; //Automation database description " from each of my config.conf files. which i was hoping to avoid, as i havent done a great deal of file handling , apart from reading whole file contents in and out. :-( any help would be most appreciated. Quote Link to comment Share on other sites More sharing options...
zq29 Posted July 30, 2007 Share Posted July 30, 2007 No, you can not "un-include" an included file. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.