in reply to Effecient shortcut for ?:
$foo //= $bar;
The // and //= operators will behave like || but will test for defined() rather than for truth.
-sam