in reply to Syntax for 1 line "either this or this"
$myVar=!defined($someValue)?"default":$someValue; [download]