in reply to Re: Switching Between Development and Production Environmentsin thread Switching Between Development and Production Environments
if(`hostname` eq 'athena'){ # or ($^O =~ /win/i) $tempdir = '/usr/tmp'; }else{ $tempdir = '/tmp'; } [download]