Hello,
I am using Solaris 2.8 and Perl 5.005_02 on a SPARC. I attempted to use "use" or "do" to load a PERL parsable configuration file. However, when I declare the variable in the main program with "my" a call to either "do" or "require" of the configuration file causes PERL to think it is a different program scope. Interestingly enough, if I use "local" (which supposedly hides global variables temporarily) it works fine (?!) I have no problem with using "local" except "local" will not work with "strict" since it is only a local decl not global. I'd rather not repeat "local" for every "my", which defeats the purpose of a simple program. Is there a simple answer of how to make a one line configuration file load and still have "strict" active?
Thanks,
Daniel