in reply to Export global variables not working correctly
not really. 3 files blurs what your goal is.
Cheers Rolf (addicted to the Perl Programming Language and ☆☆☆☆ :)
PS: Je suis Charlie!