]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - t/10-good-no.t
Better logic for finding oo and om in ck_entersub
[perl/modules/indirect.git] / t / 10-good-no.t
index 51c3d8ffdaf0a00d0b1a6cf654312513ba300b77..501b27d87421c26fcda5fa3584fcd51f41318643 100644 (file)
@@ -22,7 +22,7 @@ use IPC::Cmd qw/run/;
 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)";