There is probably a much better way to do what you want BUT... the only way I know of getting text outside of your script compiled in the current lexical scope is to use the solution from the Cookbook.
eval `cat /whereever/whatever.cfg`;
-Lee
"To be civilized is to deny one's nature."