in reply to Switching Between Development and Production Environments
$hosttype = (-x "/bin/ls") ? "UNIX" : "WINDOWS"; print "$hosttype\n"; [download]