Do you know where your variables are? | |
PerlMonks |
Include external variables?by johnfl68 (Scribe) |
on Dec 03, 2012 at 00:34 UTC ( [id://1006770]=perlquestion: print w/replies, xml ) | Need Help?? |
johnfl68 has asked for the wisdom of the Perl Monks concerning the following question: Hello: Is there a way to easily include external variables? I have about a half dozen scripts that have a good deal of variables that are the same in all of them. Things like font file locations, look-up tables, etc. It would be nice if I could put these all in a common file, and then just include that file like a module. Things like this and many more:
I'm sure this can be done, but in searching I think I am not using quite the correct terms to get results that seem to be the answer I think I am looking for. Any help pointing me in the right direction would be appreciated. Thanks!
Back to
Seekers of Perl Wisdom
|
|