if (problem) { fixIt; logIt; if (-f $indicator) { pageMe; unlink $indicator; } else { touch $indicator; } } else { unlink $indicator; }