in reply to An idiom for selecting true, false, or undef.

Your first way seems totally fine to me. You could use the "condition or die" approach that people use for file operations:
defined $pid or die "failed to fork: $!";