Problems? Is your data what you think it is? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
This is a question for the ages. I, personally, and i think most people will agree, Like to put such information in the module. This way, as you said, if it changes , you only change on portion. Also, since i don't like exporting things, i use function calls, like &DB_SERVER(), or some such maddness.
A big advantage to using function calls, is that if you ever deside to hold the logins/passwords in some sort of encrypted form, you can change the functions and all of the code can go about it's merry way ... per the monk quips : Think about Loose Coupling i had a memory leak once, and it ruined my favorite shirt. In reply to Re: Variable Declaration
by MZSanford
|
|