in reply to if multiple arg return or single fail?

$x is zero but defined, $y undefined in the error case:
my ( $x, $y, $z ) = mysub( @args ); if ( $x or defined( $y )) { .... do stuff } else { .... handle error }

One world, one people