unless ( $fsck->foo(\$variable) == SUCCESS_CODE ) { die "That was quite grim"; }