I've got a perl script that generates reports based on a series of variables. I'd like to move these variable assignments out into a config file, and suck them in after I determine which set of configs to use.
I'm currently using require to do this, but the results are less than what I expected. If I take my variable assignments and move them to the config file, and require in the config file, I get "some" of the values. If I leave them in the script, it works as I expect.
Is there some other way or some better way to do this?