I put all information that can change between production and development server into config file (I use XML configs parsed with
XML::Simple but it could be any other format including just perl script) and I use PerlSetVar to point to this file.
--
Ilya Martynov
(http://martynov.org/)