Lines Matching refs:BAIL_OUT
64 mkdir($tmpdir, 0777) or BAIL_OUT("cannot create $tmpdir: $!");
69 open($OLD_STDERR, '>&', STDERR) or BAIL_OUT("cannot dup STDERR: $!");
70 open(STDERR, '>', $path) or BAIL_OUT("cannot redirect STDERR: $!");
82 close(STDERR) or BAIL_OUT("cannot close STDERR: $!");
83 open(STDERR, '>&', $OLD_STDERR) or BAIL_OUT("cannot dup STDERR: $!");
84 close($OLD_STDERR) or BAIL_OUT("cannot close redirected STDERR: $!");
109 open(my $fh, '<', $path) or BAIL_OUT("cannot open $path: $!");
118 close($fh) or BAIL_OUT("cannot close $path: $!");
226 open(my $fh, '<', $file) or BAIL_OUT("cannot open $file: $!");
237 close($fh) or BAIL_OUT("cannot read from $file: $!");
327 mkdir($tmpdir, 0777) or BAIL_OUT("cannot create $tmpdir: $!");
331 or BAIL_OUT("cannot create $input_file: $!");
333 or BAIL_OUT("cannot write to $input_file: $!");
334 close($input) or BAIL_OUT("cannot flush output to $input_file: $!");
339 or BAIL_OUT("cannot create $output_file: $!");
349 close($output) or BAIL_OUT("cannot flush output to $output_file: $!");
354 or BAIL_OUT("cannot open $output_file: $!");
368 close($results) or BAIL_OUT("cannot close output file: $!");