in reply to apache::dbi how to switch between development or production database?

That's exactly what I'd do. You could go one step further and use DBIx::Password to store your connection strings. That's what Slash does, and it handles virtual hosts rather nicely.
  • Comment on Re: apache::dbi how to switch between development or production database?