Think about Loose Coupling | |
PerlMonks |
Re: Re: Constant Variablesby The Mad Hatter (Priest) |
on Mar 28, 2003 at 13:17 UTC ( [id://246460]=note: print w/replies, xml ) | Need Help?? |
Yes, since it is just config, a flat file would probably be easier to do, although if you really wanted, I think it is possible to do the MySQL thing (looping through and binding each column is the way to go, I think).
If you defined the variables in the config file like you said, all you would have to do is a do filename; and you'd have the variables.
In Section
Seekers of Perl Wisdom
|
|