in reply to Re: Switching Between Development and Production Environments
in thread Switching Between Development and Production Environments

Why not make a switch in the config file like:
if(`hostname` eq 'athena'){ # or ($^O =~ /win/i) $tempdir = '/usr/tmp'; }else{ $tempdir = '/tmp'; }