XP is just a number | |
PerlMonks |
config package fileby martymart (Deacon) |
on Nov 19, 2004 at 10:18 UTC ( [id://408970]=perlquestion: print w/replies, xml ) | Need Help?? |
martymart has asked for the wisdom of the Perl Monks concerning the following question:
Fellow Monks, I want like to put a load of config variables/arrays/hashes into one handy package configs.pm for access by a number of scripts. Here's how I would do it: configs.pm a file containing useful info config.pl an example of a file that uses the above package: Are there other (better?) ways to achieve this, any problems with using "our" in this way? Thanks in advance, Martymart
Back to
Seekers of Perl Wisdom
|
|