if ($passwd eq "") { $cryptedPass = ""; } else { $cryptedPass = crypt($passwd, $salt); }