This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Revert "t/TEST: move our @found out to its real scope"
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 7 Nov 2014 11:40:01 +0000 (06:40 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 7 Nov 2014 11:40:01 +0000 (06:40 -0500)
This reverts commit 448bc2e91e255b2610f23d9fe8092c9143dac28e.

t/TEST

diff --git a/t/TEST b/t/TEST
index 8026c53..15d59b7 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -163,8 +163,7 @@ if ($show_elapsed_time) { require Time::HiRes }
 my %timings = (); # testname => [@et] pairs if $show_elapsed_time.
 
 # Roll your own File::Find!
-our @found;
-sub _find_tests { @found = (); push @ARGV, _find_files('\.t$', $_[0]) }
+sub _find_tests { our @found=(); push @ARGV, _find_files('\.t$', $_[0]) }
 sub _find_files {
     my($patt, @dirs) = @_;
     for my $dir (@dirs) {