"be consistent" | |
PerlMonks |
Re^2: DBD::ODBC in Windows Server 2008by Narveson (Chaplain) |
on May 05, 2010 at 20:59 UTC ( [id://838574]=note: print w/replies, xml ) | Need Help?? |
Good advice, and a perceptive warning: that does mean if you connect from multiple apps and you want to change some aspect of the driver connection you will have to change it in multiple places instead of in a single SYSTEM DSN. I think I'll set up a module so my client scripts can say
and the OurDatabase::Connection module can check whether it's running in development or in production and pick the right server name accordingly. My boss may regret the apparent increase in complexity, but I'll try to point out that we'll be leaving behind our dependency on crucial data that we've been keeping hidden in the Windows registry until now.
In Section
Seekers of Perl Wisdom
|
|