$myVar = !defined($somevalue) ? "default" : $somevalue;