Welcome to the Monastery | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Modules that have use constant in them is a good start. Using your database to store such things is another good place, maybe in a table called constants with two columns - name and value (kinda like a hash). use Exporter is another good place. Also, using a Singleton object is a good place. There's a hundred different ways.
------ Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement. Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified. In reply to Re: Constant Variables
by dragonchild
|
|