In addition to the techniques Stas mentioned (which I've always found to be more than adequate), there are tons of configuration modules on CPAN. AppConfig, Config::* modules, etc. Just make sure you choose one that can do layered configs, so that you can specify a configuration that's shared and then override certain settings with a local file on each machine.
- Perrin