plan skip_all => "Couldn't capture buffers" if $success and not defined $stderr;
plan tests => $total + 1;
-$stderr = join '', @$stderr;
+$stderr = join '', @{$stderr || []};
unless ($success) {
diag $stderr;
diag "Failed to execute data file (error $err_code)";
plan skip_all => "Couldn't capture buffers" if $success and not defined $stderr;
plan tests => $total + 1;
-$stderr = join '', @$stderr;
+$stderr = join '', @{$stderr || []};
unless ($success) {
diag $stderr;
diag "Failed to execute data file (error $err_code)";
plan skip_all => "Couldn't capture buffers" if $success and not defined $stderr;
plan tests => $total + 1;
-$stderr = join '', @$stderr;
+$stderr = join '', @{$stderr || []};
unless ($success) {
diag $stderr;
diag "Failed to execute data file (error $err_code)";
plan skip_all => "Couldn't capture buffers" if $success and not defined $stderr;
plan tests => $total + 1;
-$stderr = join '', @$stderr;
+$stderr = join '', @{$stderr || []};
unless ($success) {
diag $stderr;
diag "Failed to execute data file (error $err_code)";
plan skip_all => "Couldn't capture buffers" if $success and not defined $stderr;
plan tests => 1;
-$stderr = join '', @$stderr;
+$stderr = join '', @{$stderr || []};
ok(!$success && $err_code && $stderr =~ /^Indirect\s+call\s+of\s+method\s+"new"\s+on\s+object\s+"Hlagh1"/mg, 'croak when :fatal is specified');
plan skip_all => "Couldn't capture buffers" if $success and not defined $stderr;
plan tests => $total + 1;
-$stderr = join '', @$stderr;
+$stderr = join '', @{$stderr || []};
unless ($success) {
diag $stderr;
diag "Failed to execute data file (error $err_code)";